Feral Heart
Help & Guidance => Game Help => Topic started by: Elohi Adanvdo on May 17, 2013, 12:59:33 pm
-
So, trying to make a preset where the wings are solid and gradually become semi-transparent, and also has glow-in-the-dark markings as well. This worked with the body juuuust fine, but the wings are a total different story.
Only the left wing has the transparency, the glow only shows up in certain areas (when the wings flap you can see that there is a kind of shading layer over the effects; when the wings flap the mesh kinda goes through this layer and the markings glow, but it's with every flap, and only in small areas.
I would show, but I'm lazy with linking pictures. however, here's the code:
material preset_1_bodyMatL
{
receive_shadows on
technique
{
pass
{
ambient 0.5 0.5 0.5
cull_hardware none
cull_software none
alpha_rejection greater_equal 128
scene_blend alpha_blend
texture_unit
{
texture preset_1body.png
tex_address_mode wrap
filtering trilinear
}
}
pass
{
emissive 2.0 2.0 2.0
scene_blend alpha_blend
texture_unit
{
texture preset_1bodyGlow.png
}
}
}
}
material preset_1_bodyMatR
{
receive_shadows on
technique
{
pass
{
ambient 0.5 0.5 0.5
cull_hardware none
cull_software none
alpha_rejection greater_equal 128
scene_blend alpha_blend
texture_unit
{
texture preset_1body.png
tex_address_mode wrap
filtering trilinear
}
}
pass
{
emissive 2.0 2.0 2.0
scene_blend alpha_blend
texture_unit
{
texture preset_1bodyGlow.png
}
}
}
}
material preset_1_headMatL
{
technique
{
pass
{
ambient 0.5 0.5 0.5
texture_unit
{
texture preset_1head.png
}
}
pass
{
emissive 2.0 2.0 2.0
scene_blend alpha_blend
texture_unit
{
texture preset_1headGlow.png
}
}
}
}
material preset_1_headMatR
{
technique
{
pass
{
ambient 0.5 0.5 0.5
texture_unit
{
texture preset_1head.png
}
}
pass
{
emissive 2.0 2.0 2.0
scene_blend alpha_blend
texture_unit
{
texture preset_1headGlow.png
}
}
}
}
material preset_1_eyeMatL
{
technique
{
pass
{
cull_hardware none
cull_software none
ambient 0.5 0.5 0.5
texture_unit
{
texture preset_1eye.png
}
}
pass
{
emissive 2.0 2.0 2.0
scene_blend alpha_blend
texture_unit
{
texture preset_1eyeGlow.png
}
}
pass
{
scene_blend add
cull_hardware none
cull_software none
emissive 1 1 1
texture_unit
{
env_map spherical
texture world.jpg
}
}
}
}
material preset_1_eyeMatR
{
technique
{
pass
{
cull_hardware none
cull_software none
ambient 0.5 0.5 0.5
texture_unit
{
texture preset_1eye.png
}
}
pass
{
emissive 2.0 2.0 2.0
scene_blend alpha_blend
texture_unit
{
texture preset_1eyeGlow.png
}
}
pass
{
scene_blend add
cull_hardware none
cull_software none
emissive 1 1 1
texture_unit
{
env_map spherical
texture world.jpg
}
}
}
}
material preset_1_tailMat
{
receive_shadows on
technique
{
pass
{
ambient 0.5 0.5 0.5
cull_hardware none
cull_software none
alpha_rejection greater_equal 128
scene_blend alpha_blend
texture_unit
{
texture preset_1tail.png
tex_address_mode wrap
filtering trilinear
}
}
pass
{
emissive 2.0 2.0 2.0
scene_blend alpha_blend
texture_unit
{
texture preset_1tailGlow.png
}
}
}
}
material preset_1_maneMat
{
technique
{
pass
{
lighting off
cull_hardware none
cull_software none
scene_blend alpha_blend
depth_write off
texture_unit
{
texture preset_1mane.png
}
}
}
}
material preset_1_equipMatL
{
receive_shadows on
technique
{
pass
{
ambient 0.5 0.5 0.5
cull_hardware none
cull_software none
alpha_rejection greater_equal 128
scene_blend alpha_blend
texture_unit
{
texture preset_1equip.png
tex_address_mode wrap
filtering trilinear
}
}
pass
{
emissive 2.0 2.0 2.0
scene_blend alpha_blend
texture_unit
{
texture preset_1equipGlow.png
}
}
}
}
material preset_1_equipMatR
{
receive_shadows on
technique
{
pass
{
ambient 0.5 0.5 0.5
cull_hardware none
cull_software none
alpha_rejection greater_equal 128
scene_blend alpha_blend
texture_unit
{
texture preset_1equip.png
tex_address_mode wrap
filtering trilinear
}
}
pass
{
emissive 2.0 2.0 2.0
scene_blend alpha_blend
texture_unit
{
texture preset_1equipGlow.png
}
}
}
}
And yes, the wings do show up for preset 1 with this code.
Thanks in advance.
-
Can we see a screenshot?
-
Can we see a screenshot?
HHNNNNGGGG
I'll try to see what I can do :I