Feral Heart
Help & Guidance => Game Help => Topic started by: Arandomperson on August 16, 2017, 05:28:48 pm
-
This has never happened to me before, but i made a preset and the shading is just horrible once i play with it on. Like everything's ugly dark. My whites, dark grey and my browns are super dark. I asked in local and someone said something about a ambient file and I dont got one and I dont preset much. The files look prefect when i was making them on Gimp and look great in the preset maker so I really am confused.
-
Moving this over to Game Help
You should send us in your preset's coding, as it sounds like it could be an ambience pass doing this. You can do that by placing the contents of your material file (by opening it up in Notepad, selecting it all and copy/paste) in between these two tags on the forums in as a reply:
[code]-Paste entire material code contents here-[/code]
-
This is whats in it
-material preset_3_bodyMatL
{
technique
{
pass
{
ambient 0.5 0.5 0.5
texture_unit
{
texture preset_3body.png
}
}
pass
{
emissive 1.0 0.0 0.0
scene_blend alpha_blend
texture_unit
{
texture Nothing.png
}
}
}
}
material preset_3_bodyMatR
{
technique
{
pass
{
ambient 0.5 0.5 0.5
texture_unit
{
texture preset_3body2.png
}
}
pass
{
emissive 1.0 0.0 0.0
scene_blend alpha_blend
texture_unit
{
texture Nothing.png
}
}
}
}
material preset_3_headMatL
{
technique
{
pass
{
alpha_rejection greater_equal 128
ambient 0.5 0.5 0.5
texture_unit
{
texture preset_3head.png
}
}
pass
{
{
emissive 1.0 0.0 0.0
scene_blend alpha_blend
texture_unit
{
texture Nothing.png
}
}
}
}
material preset_3_headMatR
{
technique
{
pass
{
alpha_rejection greater_equal 128
ambient 0.5 0.5 0.5
texture_unit
{
texture preset_3head2.png
}
}
pass
{
{
emissive 1.0 0.0 0.0
scene_blend alpha_blend
texture_unit
{
texture Nothing.png
}
}
}
}
material preset_3_eyeMatL
{
technique
{
pass
{
ambient 0.5 0.5 0.5
texture_unit
{
texture preset_3eye.png
}
}
pass
{
emissive 1.0 0.0 0.0
scene_blend alpha_blend
texture_unit
{
texture Nothing.png
}
}
}
}
material preset_3_eyeMatR
{
technique
{
pass
{
ambient 0.5 0.5 0.5
texture_unit
{
texture preset_3eye2.png
}
}
pass
{
emissive 1.0 0.0 0.0
scene_blend alpha_blend
texture_unit
{
texture Nothing.png
}
}
}
}
material preset_3_tailMat
{
technique
{
pass
{
ambient 0.5 0.5 0.5
texture_unit
{
texture preset_3tail.png
}
}
pass
{
emissive 1.0 0.0 0.0
scene_blend alpha_blend
texture_unit
{
texture Nothing.png
}
}
}
}
material preset_3_maneMat
{
technique
{
pass
{
alpha_rejection greater_equal 128
ambient 0.5 0.5 0.5
texture_unit
{
texture preset_3mane.png
}
}
pass
{
{
emissive 1.0 0.0 0.0
scene_blend alpha_blend
texture_unit
{
texture Nothing.png
}
}
}
}-
-
Okay, try this. I removed all of the ambient passes:
Replace your current code with this one and save your material file
material preset_3_bodyMatL
{
technique
{
pass
{
texture_unit
{
texture preset_3body.png
}
}
pass
{
emissive 1.0 0.0 0.0
scene_blend alpha_blend
texture_unit
{
texture Nothing.png
}
}
}
}
material preset_3_bodyMatR
{
technique
{
pass
{
texture_unit
{
texture preset_3body2.png
}
}
pass
{
emissive 1.0 0.0 0.0
scene_blend alpha_blend
texture_unit
{
texture Nothing.png
}
}
}
}
material preset_3_headMatL
{
technique
{
pass
{
alpha_rejection greater_equal 128
texture_unit
{
texture preset_3head.png
}
}
pass
{
{
emissive 1.0 0.0 0.0
scene_blend alpha_blend
texture_unit
{
texture Nothing.png
}
}
}
}
material preset_3_headMatR
{
technique
{
pass
{
alpha_rejection greater_equal 128
texture_unit
{
texture preset_3head2.png
}
}
pass
{
{
emissive 1.0 0.0 0.0
scene_blend alpha_blend
texture_unit
{
texture Nothing.png
}
}
}
}
material preset_3_eyeMatL
{
technique
{
pass
{
texture_unit
{
texture preset_3eye.png
}
}
pass
{
emissive 1.0 0.0 0.0
scene_blend alpha_blend
texture_unit
{
texture Nothing.png
}
}
}
}
material preset_3_eyeMatR
{
technique
{
pass
{
texture_unit
{
texture preset_3eye2.png
}
}
pass
{
emissive 1.0 0.0 0.0
scene_blend alpha_blend
texture_unit
{
texture Nothing.png
}
}
}
}
material preset_3_tailMat
{
technique
{
pass
{
texture_unit
{
texture preset_3tail.png
}
}
pass
{
emissive 1.0 0.0 0.0
scene_blend alpha_blend
texture_unit
{
texture Nothing.png
}
}
}
}
material preset_3_maneMat
{
technique
{
pass
{
alpha_rejection greater_equal 128
texture_unit
{
texture preset_3mane.png
}
}
pass
{
{
emissive 1.0 0.0 0.0
scene_blend alpha_blend
texture_unit
{
texture Nothing.png
}
}
}
}
-
It worked thank you! *Throws flower crown at*
-
:DDD Thank you very much! -rolls in flowers-
Glad I could help~
I'll go ahead and lock this up