material preset_2_bodyMatL
{
technique
{
pass
{
scene_blend alpha_blend
alpha_rejection greater 128
texture_unit
{
texture preset_2body.png
}
texture_unit
{
texture preset_2scroll.png
colour_op alpha_blend
}
texture_unit
{
texture preset_2scroll.png
colour_op_ex blend_current_alpha src_texture src_current
tex_address_mode wrap
filtering trilinear
scroll_anim 0.0 0.1
}
}
}
}
material preset_2_bodyMatR
{
technique
{
pass
{
scene_blend alpha_blend
alpha_rejection greater 128
texture_unit
{
texture preset_2body.png
}
texture_unit
{
texture preset_2scroll.png
colour_op alpha_blend
}
texture_unit
{
texture preset_2scroll.png
colour_op_ex blend_current_alpha src_texture src_current
tex_address_mode wrap
filtering trilinear
scroll_anim 0.0 0.1
}
}
}
}
material preset_2_headMatL
{
technique
{
pass
{
scene_blend alpha_blend
alpha_rejection greater 128
texture_unit
{
texture preset_2head.png
}
texture_unit
{
texture preset_2scroll.png
colour_op alpha_blend
}
texture_unit
{
texture preset_2scroll.png
colour_op_ex blend_current_alpha src_texture src_current
tex_address_mode wrap
filtering trilinear
scroll_anim 0.0 0.1
}
}
}
}
material preset_2_headMatR
{
technique
{
pass
{
scene_blend alpha_blend
alpha_rejection greater 128
texture_unit
{
texture preset_2head.png
}
texture_unit
{
texture preset_2scroll.png
colour_op alpha_blend
}
texture_unit
{
texture preset_2scroll.gif
colour_op_ex blend_current_alpha src_texture src_current
tex_address_mode wrap
filtering trilinear
scroll_anim 0.0 0.1
}
}
}
}
material preset_2_eyeMatL
{
technique
{
pass
{
cull_hardware none
cull_software none
texture_unit
{
texture preset_2eye.jpg
}
}
}
}
material preset_2_eyeMatR
{
technique
{
pass
{
cull_hardware none
cull_software none
texture_unit
{
texture preset_2eye.jpg
}
}
}
}
material preset_2_tailMat
{
technique
{
pass
{
scene_blend alpha_blend
alpha_rejection greater 128
texture_unit
{
texture preset_2tail.png
}
texture_unit
{
texture preset_2scroll.png
colour_op alpha_blend
}
texture_unit
{
texture preset_2scroll.png
colour_op_ex blend_current_alpha src_texture src_current
tex_address_mode wrap
filtering trilinear
scroll_anim 0.0 0.1
}
}
}
}
material preset_2_maneMat
{
technique
{
pass
{
cull_hardware none
cull_software none
alpha_rejection greater_equal 128
texture_unit
{
texture preset_2mane.png
}
}
}
}
My boyfriend said to make the stripes transparent while the body is black Idk when wrongI'm confused o;
Do you not want the stripes to be transparent or?
in the stripes scrollingSo, black body and transparent stripes. Where did you want the galaxy scroll?
Oh i think i see. If you wanted a black body & scrolling stripes under it you would need the scrolling texture first, as the first pass, then put the black over the top as a second pass.
{
technique
{
pass
{
scene_blend alpha_blend
alpha_rejection greater 128
texture_unit
{
texture preset_2scroll.png
scroll_anim 0.0 0.1
}
}
pass
{
scene_blend alpha_blend
alpha_rejection greater 128
texture_unit
{
preset_2tail.png
}
}
}
}
Oh i think i see. If you wanted a black body & scrolling stripes under it you would need the scrolling texture first, as the first pass, then put the black over the top as a second pass.
{
technique
{
pass
{
scene_blend alpha_blend
alpha_rejection greater 128
texture_unit
{
texture preset_2scroll.png
scroll_anim 0.0 0.1
}
}
pass
{
scene_blend alpha_blend
alpha_rejection greater 128
texture_unit
{
preset_2tail.png
}
}
}
}
I'll see if it works
What does the code look like after Kuri's code was added?
material preset_2_bodyMatL
{
{
technique
{
pass
{
scene_blend alpha_blend
alpha_rejection greater 128
texture_unit
{
texture preset_2scroll.png
scroll_anim 0.0 0.1
}
}
pass
{
scene_blend alpha_blend
alpha_rejection greater 128
texture_unit
{
preset_2body.png
}
}
}
}
material preset_2_bodyMatR
{
{
technique
{
pass
{
scene_blend alpha_blend
alpha_rejection greater 128
texture_unit
{
texture preset_2scroll.png
scroll_anim 0.0 0.1
}
}
pass
{
scene_blend alpha_blend
alpha_rejection greater 128
texture_unit
{
preset_2body.png
}
}
}
}
material preset_2_headMatL
{
{
technique
{
pass
{
scene_blend alpha_blend
alpha_rejection greater 128
texture_unit
{
texture preset_2scroll.png
scroll_anim 0.0 0.1
}
}
pass
{
scene_blend alpha_blend
alpha_rejection greater 128
texture_unit
{
preset_2head.png
}
}
}
}
material preset_2_headMatR
{
{
technique
{
pass
{
scene_blend alpha_blend
alpha_rejection greater 128
texture_unit
{
texture preset_2scroll.png
scroll_anim 0.0 0.1
}
}
pass
{
scene_blend alpha_blend
alpha_rejection greater 128
texture_unit
{
preset_2head.png
}
}
}
}
material preset_2_eyeMatL
{
technique
{
pass
{
cull_hardware none
cull_software none
texture_unit
{
texture preset_2eye.jpg
}
}
}
}
material preset_2_eyeMatR
{
technique
{
pass
{
cull_hardware none
cull_software none
texture_unit
{
texture preset_2eye.jpg
}
}
}
}
material preset_2_tailMat
{
{
technique
{
pass
{
scene_blend alpha_blend
alpha_rejection greater 128
texture_unit
{
texture preset_2scroll.png
scroll_anim 0.0 0.1
}
}
pass
{
scene_blend alpha_blend
alpha_rejection greater 128
texture_unit
{
preset_2tail.png
}
}
}
}
material preset_2_maneMat
{
technique
{
pass
{
cull_hardware none
cull_software none
alpha_rejection greater_equal 128
texture_unit
{
texture preset_2mane.png
}
}
}
}