Watergit push!
This commit is contained in:
@@ -58,10 +58,29 @@ material Water/Below
|
||||
}
|
||||
}
|
||||
rtshader_system
|
||||
{
|
||||
{
|
||||
// Override lighting stage with per pixel lighting.
|
||||
lighting_stage per_pixel
|
||||
}
|
||||
}
|
||||
}
|
||||
*/
|
||||
|
||||
material Water/Depth
|
||||
{
|
||||
technique
|
||||
{
|
||||
pass
|
||||
{
|
||||
cull_hardware none
|
||||
alpha_rejection greater_equal 0.5
|
||||
vertex_program_ref Water/depth_vp
|
||||
{
|
||||
param_named_auto world world_matrix
|
||||
param_named_auto worldViewProj worldviewproj_matrix
|
||||
}
|
||||
fragment_program_ref Water/depth_fp
|
||||
{
|
||||
param_named_auto cameraPosition camera_position
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user