History

A lot more stuff to try to see the skin scattering

samcake committed 10 years ago

Commit e6902221 parent 75a5f6b11 files · +588 −25Browse files

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

Unified · Split

libraries/render-utils/src/DebugDeferredBuffer.cpp+2−2
@@ -141,8 +141,8 @@ static const std::string DEFAULT_PYRAMID_DEPTH_SHADER { · 140 unmodified lines
141141
142142 static const std::string DEFAULT_CURVATURE_SHADER{
143143 "vec4 getFragmentColor() {"
144− // " return vec4(pow(vec3(texture(curvatureMap, uv).a), vec3(1.0 / 2.2)), 1.0);"
145− " return vec4(pow(vec3(texture(curvatureMap, uv).xyz), vec3(1.0 / 2.2)), 1.0);"
144+ " return vec4(pow(vec3(texture(curvatureMap, uv).a), vec3(1.0 / 2.2)), 1.0);"
145+ // " return vec4(pow(vec3(texture(curvatureMap, uv).xyz), vec3(1.0 / 2.2)), 1.0);"
146146 //" return vec4(vec3(1.0 - textureLod(pyramidMap, uv, 3).x * 0.01), 1.0);"
147147 " }"
148148 };