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
141 141
142static const std::string DEFAULT_CURVATURE_SHADER{142static const std::string DEFAULT_CURVATURE_SHADER{
143 "vec4 getFragmentColor() {"143 "vec4 getFragmentColor() {"
144 // " return vec4(pow(vec3(texture(curvatureMap, uv).a), 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);"145 // " return vec4(pow(vec3(texture(curvatureMap, uv).xyz), vec3(1.0 / 2.2)), 1.0);"
146 //" return vec4(vec3(1.0 - textureLod(pyramidMap, uv, 3).x * 0.01), 1.0);"146 //" return vec4(vec3(1.0 - textureLod(pyramidMap, uv, 3).x * 0.01), 1.0);"
147 " }"147 " }"
148};148};