Author Topic: Another Preset Issue.  (Read 1056 times)

Offline Mea_WolfenX

  • Dedicated Supporter
  • ***
  • Posts: 324
  • Country: 00
  • Floof-O-Meter: 20
  • Mea_WolfenX
    • MeaWolfenX
    • View Profile
    • DeviantArt
Another Preset Issue.
« on: March 10, 2017, 08:29:53 pm »
ALRIGHT So recently I've decided to make a glowing preset... So I've Used This Code.

Code: [Select]
material preset_10_bodyMatL
{
 technique
 {
  pass
  {
   ambient 0.5 0.5 0.5
   texture_unit
   {
    texture YOURBODYTEXTURE.PNG
   }
  }
  pass
  {
   emissive 1.0 1.0 1.0
   scene_blend alpha_blend
   texture_unit
   {
    texture YOURBODYGLOWTEXTURE.PNG
   }
  }
 }
}
material preset_10_bodyMatR
{
 technique
 {
  pass
  {
   ambient 0.5 0.5 0.5
   texture_unit
   {
    texture YOURBODYTEXTURE.PNG
   }
  }
pass
  {
   emissive 1.0 1.0 1.0
   scene_blend alpha_blend
   texture_unit
   {
    texture YOURBODYGLOWTEXTURE.PNG
   }
  }
 }
}
material preset_10_headMatL
{
 technique
 {
  pass
  {
   ambient 0.5 0.5 0.5
   texture_unit
   {
    texture YOURHEADTEXTURE.PNG
   }
  }
pass
  {
   emissive 1.0 1.0 1.0
   scene_blend alpha_blend
   texture_unit
   {
    texture YOURHEADGLOWTEXTURE.PNG
   }
  }
 }
}
material preset_10_headMatR
{
 technique
 {
  pass
  {
   ambient 0.5 0.5 0.5
   texture_unit
   {
    texture YOURHEADTEXTURE.PNG
   }
  }
pass
  {
   emissive 1.0 1.0 1.0
   scene_blend alpha_blend
   texture_unit
   {
    texture YOURHEADGLOWTEXTURE.PNG
   }
  }

 }
}
material preset_10_eyeMatL
{
 technique
 {
  pass
  {
   cull_hardware none
   cull_software none
   texture_unit
   {
    texture YOUREYETEXTURE.PNG
   }
  }
 }
}
material preset_10_eyeMatR
{
 technique
 {
  pass
  {
   cull_hardware none
   cull_software none
   texture_unit
   {
    texture YOUREYETEXTURE.PNG
   }
  }
 }
}
material preset_10_tailMat
{
 technique
 {
  pass
  {
   ambient 0.5 0.5 0.5
   texture_unit
   {
    texture YOURTAILTEXTURE.PNG
   }
  }
pass
  {
   emissive 1.0 1.0 1.0
   scene_blend alpha_blend
   texture_unit
   {
    texture YOURTAILGLOWTEXTURE.PNG
   }
  }
 }
}
material preset_10_maneMat
{
 technique
 {
  pass
  {
   ambient 0.5 0.5 0.5
   cull_hardware none
   cull_software none
   scene_blend alpha_blend
   alpha_rejection greater_equal 250
   texture_unit
   {
    texture YOURMANETEXTURE.PNG
   }
  }
 }
}

But I've Modified it to this because for some reason when I use that code my entire preset is blank white.

Code: [Select]
material preset_5_bodyMatL
{
technique
{
pass
{
   ambient 0.5 0.5 0.5
   texture_unit
   {
    texture leftbody.PNG
   }
  }
  pass
  {
   emissive 0.0 0.0 1.0
   scene_blend alpha_blend
   texture_unit
   {
    texture glow.PNG
   }
  }
 }
}
material preset_5_bodyMatR
{
technique
{
pass
{
   ambient 0.5 0.5 0.5
   texture_unit
   {
    texture leftbody.PNG
   }
  }
  pass
  {
   emissive 0.0 0.0 1.0
   scene_blend alpha_blend
   texture_unit
   {
    texture glowright.PNG
   }
  }
 }
}
material preset_5_headMatL
{
 technique
 {
  pass
  {
   ambient 0.7 0.7 0.7
   texture_unit
   {
    texture headleft.PNG
   }
  }
pass
  {
   emissive 0.0 0.0 1.0
   scene_blend alpha_blend
   texture_unit
   {
    texture headglowleft.PNG
   }
  }
 }
}
material preset_5_headMatR
{
 technique
 {
  pass
  {
   ambient 0.7 0.7 0.7
   texture_unit
   {
    texture headright.PNG
   }
  }
pass
  {
   emissive 0.0 0.0 1.0
   scene_blend alpha_blend
   texture_unit
   {
    texture headglowright.PNG
   }
  }

 }
}
material preset_5_eyeMatL
{
 technique
 {
  pass
  {
   cull_hardware none
   cull_software none
   texture_unit
   {
    texture eyeleft.PNG
   }
  }
 }
}
material preset_5_eyeMatR
{
 technique
 {
  pass
  {
   cull_hardware none
   cull_software none
   texture_unit
   {
    texture eyeright.PNG
   }
  }
 }
}
material preset_5_tailMat
{
 technique
 {
  pass
  {
   ambient 0.7 0.7 0.7
   texture_unit
   {
    texture tail.PNG
   }
  }
pass
  {
   emissive 0.0 0.0 1.0
   scene_blend alpha_blend
   texture_unit
   {
    texture tailglow.PNG
   }
  }
 }
}
material preset_5_maneMat
{
 technique
 {
  pass
  {
   ambient 0.7 0.7 0.7
   cull_hardware none
   cull_software none
   scene_blend alpha_blend
   alpha_rejection greater_equal 250
   texture_unit
   {
    texture mane.PNG
   }
  }
 }
}

Not mega changes but then only HALF The body was showing... the right side WILL NOT WORK! >:(

SO after changing to almost every preset folder, deleting and renaming... I even used a normal Mat file and simply added the needed coding such as

Code: [Select]
material preset_4_bodyMatL
{
technique
{
pass
{
                        ambient 0.7 0.7 0.7
texture_unit
{
texture preset_4body.png
   }
  }
  pass
  {
   emissive 0.0 0.0 1.0
   scene_blend alpha_blend
   texture_unit
   {
    texture MyGlow.PNG
}
}
}
}
material preset_4_bodyMatR
{
technique
{
pass
{
                        ambient 0.7 0.7 0.7
texture_unit
{
texture preset_4body.png
   }
  }
pass
  {
   emissive 0.0 0.0 1.0
   scene_blend alpha_blend
   texture_unit
   {
    texture GlowRight.PNG
}
}
}
}
material preset_4_headMatL
{
technique
{
pass
{
                        ambient 0.7 0.7 0.7
texture_unit
{
texture preset_4head.jpg
   }
  }
pass
  {
   emissive 1.0 1.0 1.0
   scene_blend alpha_blend
   texture_unit
   {
    texture HeadGlowL.PNG
}
}
}
}
material preset_4_headMatR
{
technique
{
pass
{
                        ambient 0.7 0.7 0.7
texture_unit
{
texture preset_4head.jpg
   }
  }
pass
  {
   emissive 0.0 0.0 1.0
   scene_blend alpha_blend
   texture_unit
   {
    texture YOURHEADGLOWTEXTURE.PNG
}
}
}
}
material preset_4_eyeMatL
{
technique
{
pass
{
cull_hardware none
cull_software none
texture_unit
{
texture preset_4eye.jpg
}
}
}
}
material preset_4_eyeMatR
{
technique
{
pass
{
cull_hardware none
cull_software none
texture_unit
{
texture preset_4eye.jpg
}
}
}
}
material preset_4_tailMat
{
technique
{
pass
{
                        ambient 0.7 0.7 0.7
texture_unit
{
texture preset_4tail.jpg
   }
  }
pass
  {
   emissive 0.0 0.0 1.0
   scene_blend alpha_blend
   texture_unit
   {
    texture YOURTAILGLOWTEXTURE.PNG
}
}
}
}
material preset_4_maneMat
{
technique
{
pass
{
ambient 0.7 0.7 0.7
                        cull_hardware none
                        cull_software none
                        scene_blend alpha_blend
                        alpha_rejection greater_equal 250
                        texture_unit
{
texture preset_4mane.png
}
}
}
}

But then it just turns out completely white...

I've changed it to jpg to test it as you can see but nothing works...
I've tried to change it to JPG,JPEG, jpg, jpeg, PNG, png

Nothing works.
At most the only thing working is the eyes.

Frustrating...
Is there a new code I need for the FH update or something?
-so tired...- (excuse typing mess)
I Am Mea_WolfenX...

http://tinyurl.com/dxaw8ck <My FH Creations ... FH Preset Creations > https://feral-heart.com/smf/index.php?topic=60376.0
http://soulsoflegacy.boards.net/ < Owner Of

Offline G4RG0YLE

  • Elder Grey Pelt
  • ****
  • Posts: 3,431
  • Country: gb
  • Floof-O-Meter: 170
  • Avatar © Felicia on Discord ♡
    • View Profile
Re: Another Preset Issue.
« Reply #1 on: March 10, 2017, 08:52:54 pm »


This could be your first problem.
Unless it's how you'd like it to be, your bodyMatR is lined to the .png file 'leftbody', which could be why the right hand side of the body isn't showing up. A good thing to do would be to rename both the .png file name and the name in your .mat file to '
rightbody.

What I've always done with presets is something like this:



Having the files names after your preset number is a good way to make sure it'll actually work -- there may not be a requirement for it to work but I've always found it a good way of making sure it's all properly lined together via the game itself, the .mat files and the .png/.jpeg files.
Therefore, because I do it myself - I'd recommend calling your .png files this:

preset_5bodyL
preset_5bodyR
preset_5headL
preset_5headR
preset_5tail
preset_5mane
preset_5eyeL
preset_5eyeR

Then also putting that in your .mat files in the correct and appropriate places.
If you're still running into problems, no doubt some helpful floofs will help you out with the glowing - as that is beyond my preset knowledge. ;)

© short ' cakes on Discord ♡

Offline Mea_WolfenX

  • Dedicated Supporter
  • ***
  • Posts: 324
  • Country: 00
  • Floof-O-Meter: 20
  • Mea_WolfenX
    • MeaWolfenX
    • View Profile
    • DeviantArt
Re: Another Preset Issue.
« Reply #2 on: March 10, 2017, 09:10:32 pm »


This could be your first problem.
Unless it's how you'd like it to be, your bodyMatR is lined to the .png file 'leftbody', which could be why the right hand side of the body isn't showing up. A good thing to do would be to rename both the .png file name and the name in your .mat file to '
rightbody.

What I've always done with presets is something like this:



Having the files names after your preset number is a good way to make sure it'll actually work -- there may not be a requirement for it to work but I've always found it a good way of making sure it's all properly lined together via the game itself, the .mat files and the .png/.jpeg files.
Therefore, because I do it myself - I'd recommend calling your .png files this:

preset_5bodyL
preset_5bodyR
preset_5headL
preset_5headR
preset_5tail
preset_5mane
preset_5eyeL
preset_5eyeR

Then also putting that in your .mat files in the correct and appropriate places.
If you're still running into problems, no doubt some helpful floofs will help you out with the glowing - as that is beyond my preset knowledge. ;)


Mmm no thats the thing (excuse extremely lazy grammer now.)

i've changed the MatR section to bodyleft because i thought it would fix the problem to just get it back to normal... Thats what made everything blank out to white. Before i changed it it was "bodyleft " and :bodyright" and only the left side was working...

Perhaps it's an actual code error...
What may help is if you could provide me with a full code for the glowing preset with MatL and MatR marked "BodyL" and "BodyR" ect.

Otherwise the only other thing i could think of that's causing a problem is paint tool sai.

I can make normal presets (non double sided) ones perfectly tho... png or jpg.
I Am Mea_WolfenX...

http://tinyurl.com/dxaw8ck <My FH Creations ... FH Preset Creations > https://feral-heart.com/smf/index.php?topic=60376.0
http://soulsoflegacy.boards.net/ < Owner Of

Offline G4RG0YLE

  • Elder Grey Pelt
  • ****
  • Posts: 3,431
  • Country: gb
  • Floof-O-Meter: 170
  • Avatar © Felicia on Discord ♡
    • View Profile
Re: Another Preset Issue.
« Reply #3 on: March 10, 2017, 09:32:27 pm »
Code: [Select]
material preset_#_bodyMatL
{
 technique
 {
  pass
  {
   emissive 1.0 1.0 1.0 1.0
   texture_unit
   {
    texture preset_#body.jpg
   }
  }
 }
}
material preset_#_bodyMatR
{
 technique
 {
  pass
  {
   emissive 1.0 1.0 1.0 1.0
   texture_unit
   {
    texture preset_#body.jpg
   }
  }
 }
}
material preset_#_headMatL
{
 technique
 {
  pass
  {
   emissive 1.0 1.0 1.0 1.0
   texture_unit
   {
    texture preset_#head.jpg
   }
  }
 }
}
material preset_#_headMatR
{
 technique
 {
  pass
  {
   emissive 1.0 1.0 1.0 1.0
   texture_unit
   {
    texture preset_#head.jpg
   }
  }
 }
}
material preset_#_eyeMatL
{
 technique
 {
  pass
  {
   cull_hardware none
   cull_software none
   emissive 1.0 1.0 1.0 1.0
   texture_unit
   {
    texture preset_#eye.jpg
   }
  }
 }
}
material preset_#_eyeMatR
{
 technique
 {
  pass
  {
   cull_hardware none
   cull_software none
   emissive 1.0 1.0 1.0 1.0
   texture_unit
   {
    texture preset_#eye.jpg
   }
  }
 }
}
material preset_#_tailMat
{
 technique
 {
  pass
  {
   emissive 1.0 1.0 1.0 1.0
   texture_unit
   {
    texture preset_#tail.jpg
   }
  }
 }
}
material preset_#_maneMat
{
 technique
 {
  pass
  {
   cull_hardware none
   cull_software none
   alpha_rejection greater_equal 128
   emissive 1.0 1.0 1.0 1.0
   texture_unit
   {
    texture preset_#mane.png
   }
  }
 }
}


>This Thread< has been found to be incredibly useful, I would try checking this out and seeing where that gets you. If not, >This Thread< could also be relatively useful in helping you out. If neither work, let me know!

© short ' cakes on Discord ♡

Offline Mea_WolfenX

  • Dedicated Supporter
  • ***
  • Posts: 324
  • Country: 00
  • Floof-O-Meter: 20
  • Mea_WolfenX
    • MeaWolfenX
    • View Profile
    • DeviantArt
Re: Another Preset Issue.
« Reply #4 on: March 11, 2017, 03:10:44 pm »
Code: [Select]
material preset_#_bodyMatL
{
 technique
 {
  pass
  {
   emissive 1.0 1.0 1.0 1.0
   texture_unit
   {
    texture preset_#body.jpg
   }
  }
 }
}
material preset_#_bodyMatR
{
 technique
 {
  pass
  {
   emissive 1.0 1.0 1.0 1.0
   texture_unit
   {
    texture preset_#body.jpg
   }
  }
 }
}
material preset_#_headMatL
{
 technique
 {
  pass
  {
   emissive 1.0 1.0 1.0 1.0
   texture_unit
   {
    texture preset_#head.jpg
   }
  }
 }
}
material preset_#_headMatR
{
 technique
 {
  pass
  {
   emissive 1.0 1.0 1.0 1.0
   texture_unit
   {
    texture preset_#head.jpg
   }
  }
 }
}
material preset_#_eyeMatL
{
 technique
 {
  pass
  {
   cull_hardware none
   cull_software none
   emissive 1.0 1.0 1.0 1.0
   texture_unit
   {
    texture preset_#eye.jpg
   }
  }
 }
}
material preset_#_eyeMatR
{
 technique
 {
  pass
  {
   cull_hardware none
   cull_software none
   emissive 1.0 1.0 1.0 1.0
   texture_unit
   {
    texture preset_#eye.jpg
   }
  }
 }
}
material preset_#_tailMat
{
 technique
 {
  pass
  {
   emissive 1.0 1.0 1.0 1.0
   texture_unit
   {
    texture preset_#tail.jpg
   }
  }
 }
}
material preset_#_maneMat
{
 technique
 {
  pass
  {
   cull_hardware none
   cull_software none
   alpha_rejection greater_equal 128
   emissive 1.0 1.0 1.0 1.0
   texture_unit
   {
    texture preset_#mane.png
   }
  }
 }
}


>This Thread< has been found to be incredibly useful, I would try checking this out and seeing where that gets you. If not, >This Thread< could also be relatively useful in helping you out. If neither work, let me know!

Thank you this helps! I'll PM you if I have any more issues :)
I Am Mea_WolfenX...

http://tinyurl.com/dxaw8ck <My FH Creations ... FH Preset Creations > https://feral-heart.com/smf/index.php?topic=60376.0
http://soulsoflegacy.boards.net/ < Owner Of