diff options
author | Jonathan Goodman <geenz@geenzo.com> | 2012-05-10 17:05:48 -0400 |
---|---|---|
committer | Jonathan Goodman <geenz@geenzo.com> | 2012-05-10 17:05:48 -0400 |
commit | a4f27c1b5518cadff653d7e34cbe941d77b4f791 (patch) | |
tree | 0545d997d160b6e7c96caef62dce786808eaadbe /indra/newview/app_settings/shaders/class1/deferred/treeF.glsl | |
parent | 2716e38d42ca7c65a7017b465b499f752268d9e1 (diff) |
Unpack X, Y, and Z within the light shaders. Also some missing bits from terrainF and treeF.
Diffstat (limited to 'indra/newview/app_settings/shaders/class1/deferred/treeF.glsl')
-rw-r--r-- | indra/newview/app_settings/shaders/class1/deferred/treeF.glsl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/newview/app_settings/shaders/class1/deferred/treeF.glsl b/indra/newview/app_settings/shaders/class1/deferred/treeF.glsl index ea98d6884c..805d118f35 100644 --- a/indra/newview/app_settings/shaders/class1/deferred/treeF.glsl +++ b/indra/newview/app_settings/shaders/class1/deferred/treeF.glsl @@ -46,5 +46,5 @@ void main() gl_FragData[0] = vec4(vertex_color.rgb*col.rgb, 0.0); gl_FragData[1] = vec4(0,0,0,0); vec3 nvn = normalize(vary_normal); - gl_FragData[2] = vec4(nvn.xy * 0.5 + 0.5, nvn.z, 0.0); + gl_FragData[2] = vec4(nvn.xyz * 0.5 + 0.5, 0.0); } |