Fix Uberhader-Rembrandt bug on Mac.
My parser is stricter than your parser. (Unless you're on Ati-non-Mac)
This commit is contained in:
parent
304c9e6e77
commit
bb640294d8
1 changed files with 1 additions and 1 deletions
|
@ -130,7 +130,7 @@ void main (void)
|
|||
//////////////////////////////////////////////////////////////////////
|
||||
//begin DIRT
|
||||
//////////////////////////////////////////////////////////////////////
|
||||
if (dirt_enabled > 0.0){
|
||||
if (dirt_enabled >= 1){
|
||||
vec3 dirtFactorIn = vec3 (dirt_r_factor, dirt_g_factor, dirt_b_factor);
|
||||
vec3 dirtFactor = reflmap.rgb * dirtFactorIn.rgb;
|
||||
//dirtFactor.r = smoothstep(0.0, 1.0, dirtFactor.r);
|
||||
|
|
Loading…
Add table
Reference in a new issue