make roughness threshold harder to see

This commit is contained in:
Xonk
2023-06-22 16:47:25 -04:00
parent 4d1673a54c
commit f40c20f3c8
3 changed files with 10 additions and 11 deletions

View File

@ -272,6 +272,7 @@ void main() {
float Puddle_shape = 0.;
#ifndef ENTITIES
#ifndef HAND
#ifdef WORLD
#ifdef Puddles
Puddle_shape = (1.0 - clamp(exp(-15 * pow(texture2D(noisetex, worldpos.xz * (0.015 * Puddle_Size) ).b ,5)),0,1)) * lightmap ;
@ -280,6 +281,7 @@ void main() {
#endif
#endif
#endif
#endif
#ifdef POM
@ -492,7 +494,7 @@ void main() {
vec4 SpecularTex = texture2D(specular, lmtexcoord.xy, bias);
SpecularTex.r = max(SpecularTex.r, Puddle_shape);
SpecularTex.g = max(SpecularTex.g, Puddle_shape*0.04);
SpecularTex.g = max(SpecularTex.g, Puddle_shape*0.02);
// #ifdef ENTITIES
// if(NameTags == 1) SpecularTex = vec4(0.0);