Skip to content
Snippets Groups Projects
Commit dc8773ff authored by Ptolemy's avatar Ptolemy
Browse files

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

parent 7ceaa018
No related branches found
No related tags found
No related merge requests found
...@@ -291,7 +291,7 @@ void main() ...@@ -291,7 +291,7 @@ void main()
float dotBV = clamp(dot(b,v),0,1); float dotBV = clamp(dot(b,v),0,1);
// Reference: getMetallicRoughnessInfo // Reference: getMetallicRoughnessInfo
vec3 base = linear_to_srgb(diffuse.rgb); vec3 base = diffuse.rgb;
float perceptualRough = max(packedORM.g, 0.1); float perceptualRough = max(packedORM.g, 0.1);
vec3 c_diff, reflect0, reflect90; vec3 c_diff, reflect0, reflect90;
float alphaRough, specWeight; float alphaRough, specWeight;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment