SL-17703: PBR: Fix albedo being washed out due to wrong color space.

master
Ptolemy 2022-08-26 15:09:02 -07:00
parent 7ceaa01878
commit dc8773ffe9
1 changed files with 1 additions and 1 deletions

View File

@ -291,7 +291,7 @@ void main()
float dotBV = clamp(dot(b,v),0,1);
// Reference: getMetallicRoughnessInfo
vec3 base = linear_to_srgb(diffuse.rgb);
vec3 base = diffuse.rgb;
float perceptualRough = max(packedORM.g, 0.1);
vec3 c_diff, reflect0, reflect90;
float alphaRough, specWeight;