Feral Heart
Help & Guidance => Game Help => Topic started by: Oddonelynx on February 26, 2022, 07:40:04 pm
-
material preset_8_eyeMatL
{
technique
{
pass
{
alpha_rejection greater_equal 128
lighting on
scene_blend alpha_blend
specular 0.5 0.5 0.5 1 128
cull_hardware none
cull_software none
texture_unit
{
texture testball.png
}
}
pass
{
alpha_rejection greater_equal 128
lighting on
scene_blend alpha_blend
texture_unit
{
env_map spherical
texture hor.png
}
}
}
I can't seem to find what's wrong. Whenever I check in game, the eyes are completely white.
-
For one thing, it looks like you don't have the right amount of end brackets. I entered your code into my own file, and it whited out both eyes and the tail. Adding more brackets fixed the right eye and tail, but I'm still experimenting with how to correct the left eye. I'll let you know if I find anything, but I suspect it's still an issue with the brackets.
Edit: My issue was mis-numbering my own coding. I fixed it. You just need to add one more bracket after each each file name (texture testball.png and texture hor.png)
-
For one thing, it looks like you don't have the right amount of end brackets. I entered your code into my own file, and it whited out both eyes and the tail. Adding more brackets fixed the right eye and tail, but I'm still experimenting with how to correct the left eye. I'll let you know if I find anything, but I suspect it's still an issue with the brackets.
Edit: My issue was mis-numbering my own coding. I fixed it. You just need to add one more bracket after each each file name (texture testball.png and texture hor.png)
Nice. That worked! =)
-
Bump, the problem is back and I can't seem to get the code to work anymore...
-
send code again?
-
send code again?
The preset number was wrong, that's what broke it. [This post can be locked now.]
-
Glad to see it's been fixed. I'll be locking this now!