material Sky/SkyMat
{
receive_shadows off
technique 1
{
pass
{
lighting off
depth_write off
fog_override true
fragment_program_ref Sky_PS
{
param_named_auto skyTop custom 1
param_named_auto skyBot custom 2
}
texture_unit
{
texture skyMask.png
tex_coord_set 0
}
}
}
technique 2
{
pass
{
lighting off
depth_write off
fog_override true
texture_unit
{
colour_op_ex source1 src_manual src_manual 1 0 0 1
}
texture_unit
{
texture skyMask.png
colour_op_ex blend_texture_alpha src_current src_manual 0 1 0 1
}
}
}
}
material Sky/SkyMat
{
receive_shadows off
technique 1
{
pass
{
lighting off
depth_write off
fog_override true
fragment_program_ref Sky_PS
{
param_named_auto skyTop custom 1
param_named_auto skyBot custom 2
}
texture_unit
{
texture skyMask.png
}
}
pass
{
lighting off
depth_write off
scene_blend add
fog_override true
texture_unit
{
texture IMAGE.png
scale 0.3 0.3
tex_coord_set 0
}
}
}
technique 2
{
pass
{
lighting off
depth_write off
fog_override true
texture_unit
{
colour_op_ex source1 src_manual src_manual 1 0 0 1
}
texture_unit
{
texture skyMask.png
colour_op_ex blend_texture_alpha src_current src_manual 0 1 0 1
}
}
}
}