diff options
author | Brad Linden <46733234+brad-linden@users.noreply.github.com> | 2024-02-09 09:47:19 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-02-09 09:47:19 -0800 |
commit | 846337483c0d3cce0607efe2ff17ed04dc90801f (patch) | |
tree | 9adb6550e3d81de000f31791ea3e302cc23a4d7a /indra/newview/app_settings/shaders/class1/deferred/treeF.glsl | |
parent | 23d44cb6653ee4ca46ec0e33f19b393b58f5332f (diff) | |
parent | d6048bfcb2442ca7ec278864b9827d74873efa3a (diff) |
Merge branch 'release/materials_featurette' into release/gltf-maint2
Diffstat (limited to 'indra/newview/app_settings/shaders/class1/deferred/treeF.glsl')
-rw-r--r-- | indra/newview/app_settings/shaders/class1/deferred/treeF.glsl | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/indra/newview/app_settings/shaders/class1/deferred/treeF.glsl b/indra/newview/app_settings/shaders/class1/deferred/treeF.glsl index e2d87e68fa..f108faf283 100644 --- a/indra/newview/app_settings/shaders/class1/deferred/treeF.glsl +++ b/indra/newview/app_settings/shaders/class1/deferred/treeF.glsl @@ -32,13 +32,16 @@ uniform sampler2D diffuseMap; in vec4 vertex_color; in vec3 vary_normal; in vec2 vary_texcoord0; +in vec3 vary_position; uniform float minimum_alpha; vec2 encode_normal(vec3 n); +void mirrorClip(vec3 pos); void main() { + mirrorClip(vary_position); vec4 col = texture(diffuseMap, vary_texcoord0.xy); if (col.a < minimum_alpha) { |