History

Fixing the roughness/reflection quantization bug

Sam Cake committed 9 years ago

Commit e87bc911 parent e5326d14 files · +6 −3Browse files

Showing the changes to libraries/render-utils/src/DebugDeferredBuffer.cpp (1 of 4 files). Show all

Unified · Split

libraries/render-utils/src/DebugDeferredBuffer.cpp+1−0
@@ -76,6 +76,7 @@ static const std::string DEFAULT_ROUGHNESS_SHADER { · 75 unmodified lines
7676 "vec4 getFragmentColor() {"
7777 " DeferredFragment frag = unpackDeferredFragmentNoPosition(uv);"
7878 " return vec4(vec3(pow(frag.roughness, 1.0 / 2.2)), 1.0);"
79+ // " return vec4(vec3(pow(colorRamp(frag.roughness), vec3(1.0 / 2.2))), 1.0);"
7980 " }"
8081 };
8182 static const std::string DEFAULT_NORMAL_SHADER {