updated Physics mod support

for water waves, and snow and stuff.
This commit is contained in:
Xonk
2023-04-25 20:08:21 -04:00
parent b59cd5d5a9
commit b12c2491cf
9 changed files with 191 additions and 43 deletions

View File

@ -102,7 +102,7 @@ void main() {
#endif
#ifndef WEATHER
gl_FragData[1].a = pow(1.0-TEXTURE.a,2.0); // for bloomy rain
gl_FragData[1].a = 0.0; // for bloomy rain
gl_FragData[0] = TEXTURE;
vec3 Albedo = toLinear(gl_FragData[0].rgb);