Better water

This commit is contained in:
2025-07-07 00:16:48 +03:00
parent c72b1cf35e
commit 4a790a060a
9 changed files with 139 additions and 84 deletions

View File

@@ -26,6 +26,7 @@ material Water/Above
{
pass
{
lighting on
ambient 1.0 1.0 1.0 1.0
diffuse 0.0 0.2 0.5 1.0
cull_hardware none
@@ -108,6 +109,11 @@ material Water/Above
*/
}
}
rtshader_system
{
// Override lighting stage with per pixel lighting.
lighting_stage per_pixel
}
}
@@ -117,6 +123,7 @@ material Water/Below
{
pass
{
lighting on
ambient 1.0 1.0 1.0 1.0
diffuse 0.0 0.2 0.5 1.0
cull_hardware none
@@ -166,6 +173,11 @@ material Water/Below
*/
}
}
rtshader_system
{
// Override lighting stage with per pixel lighting.
lighting_stage per_pixel
}
}
/*