This commit is contained in:
2025-06-16 01:49:08 +03:00
parent a1f1e09af6
commit 82df3bb299
13 changed files with 562 additions and 41 deletions

23
water/water.compositor Normal file
View File

@@ -0,0 +1,23 @@
compositor Fresnel
{
technique
{
texture reflection 512 512 PF_BYTE_RGB
texture refraction 512 512 PF_BYTE_RGB
target reflection
{
visibility_mask 0x00F // SURFACE objects
input previous
}
target refraction
{
visibility_mask 0x0F0 // SUBMERGED objects
input previous
}
target_output
{
input previous
}
}
}