11
Game Help / Why can't Presets have wings? Why won't the code work?
« on: December 25, 2011, 04:43:42 pm »
I've tried everything but nothing is working, I still get these fugly color changing 'wings' on my preset, SOMEONE help me with this.
Code: [Select]
material preset_9_bodyMatL
{
technique
{
pass
{
texture_unit
{
texture preset_9body.jpg
}
}
}
}
material preset_9_bodyMatR
{
technique
{
pass
{
texture_unit
{
texture preset_9body.jpg
}
}
}
}
material preset_9_headMatL
{
technique
{
pass
{
texture_unit
{
texture preset_9head.jpg
}
}
}
}
material preset_9_headMatR
{
technique
{
pass
{
texture_unit
{
texture preset_9head.jpg
}
}
}
}
material preset_9_eyeMatL
{
technique
{
pass
{
cull_hardware none
cull_software none
texture_unit
{
texture preset_9eye.jpg
}
}
}
}
material preset_9_eyeMatR
{
technique
{
pass
{
cull_hardware none
cull_software none
texture_unit
{
texture preset_9eye.jpg
}
}
}
}
material preset_9_tailMat
{
technique
{
pass
{
texture_unit
{
texture preset_9tail.jpg
}
}
}
}
material preset_9_maneMat
{
technique
{
pass
{
lighting off
cull_hardware none
cull_software none
scene_blend alpha_blend
depth_write off
texture_unit
{
texture preset_9mane.png
}
}
}
}
material preset_9wingMatL
{
technique 1
{
pass
{
cull_hardware none
cull_software none
fragment_program_ref Wing_PS
{
param_named_auto colorMod1
custom 1
}
texture_unit
{
texture preset_9Wing.png
tex_coord_set 0
}
}
}
technique 2
{
pass
{
cull_hardware none
cull_software none
texture_unit
{
texture preset_9Wing.png
colour_op_ex modulate
src_texture src_manual 1 0 0 1
}
}
}
}
material preset_9wingMatR
{
technique 1
{
pass
{
cull_hardware none
cull_software none
fragment_program_ref Wing_PS
{
param_named_auto colorMod1
custom 1
}
texture_unit
{
texture preset_9Wing.png
tex_coord_set 0
}
}
}
technique 2
{
pass
{
cull_hardware none
cull_software none
texture_unit
{
texture preset_9Wing.png
colour_op_ex modulate
src_texture src_manual 1 0 0 1
}
}
}
}
material preset_9wing2MatL
{
technique 1
{
pass
{
cull_hardware none
cull_software none
fragment_program_ref Wing_PS
{
param_named_auto colorMod1
custom 1
}
texture_unit
{
texture preset_9Wing.png
tex_coord_set 0
}
}
}
technique 2
{
pass
{
cull_hardware none
cull_software none
texture_unit
{
texture preset_9Wing.png
colour_op_ex modulate
src_texture src_manual 1 0 0 1
}
}
}
}
material preset_9wing2MatR
{
technique 1
{
pass
{
cull_hardware none
cull_software none
fragment_program_ref Wing_PS
{
param_named_auto colorMod1
custom 1
}
texture_unit
{
texture preset_9Wing.png
tex_coord_set 0
}
}
}
technique 2
{
pass
{
cull_hardware none
cull_software none
texture_unit
{
texture preset_9Wing.png
colour_op_ex modulate
src_texture src_manual 1 0 0 1
}
}
}
}