Mostly fucking around
This commit is contained in:
parent
dbac828891
commit
2a116f230a
4 changed files with 9 additions and 7 deletions
shaders/lib
|
@ -63,7 +63,7 @@ T_PBRPrecomputed PBR_Precompute(
|
|||
|
||||
float tDir = step( .99 , abs( normal.z ) ) ,
|
||||
aspect = sqrt( 1 - material.anisotropy * .9 ) ,
|
||||
rsqr = material.roughness * material.roughness;
|
||||
rsqr = M_Sqr( material.roughness );
|
||||
|
||||
vec3 tUp = mix( vec3( 0 , 0 , 1 ) , vec3( 1 , 0 , 0 ) , tDir ) ,
|
||||
tint = M_NormalizeColor( material.cAlbedo );
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue