cb_water.shader
- .metadata52 B
- README.md442 B
- preview.png26.4 KB
- properties.yaml670 B
- shader.wgsl2.6 KB
README.md
cb_water
Still water that answers the weather: rings spread wherever drops land (the cb_ripples field
from cb_common), the wind roughens it into a light chop, and it reflects the scene's sky, sun
and lamps through the engine's PBR, so a lamp's reflection breaks up as the rain hardens. Use the
cb_pond or cb_puddle material and call require("cloudburst.weather").bind(<material>) once
so its cb_rain input follows the weather.