diff options
author | Dave Parks <davep@lindenlab.com> | 2022-10-07 12:52:43 -0500 |
---|---|---|
committer | Dave Parks <davep@lindenlab.com> | 2022-10-07 12:52:43 -0500 |
commit | 26f99409d247a0c872239d73ac05451ef8531ff4 (patch) | |
tree | 238ee737a2e1e4a1cc7d082b0f1b71fb3fd48200 /indra/newview/app_settings | |
parent | 176f34791bf26e3cb14c05260e538e7107329f7a (diff) |
SL-18190 Temporarily disable occlusion culling by default -- not compatible with depth buffer management changes.
Diffstat (limited to 'indra/newview/app_settings')
-rw-r--r-- | indra/newview/app_settings/shaders/class1/interface/occlusionF.glsl | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/indra/newview/app_settings/shaders/class1/interface/occlusionF.glsl b/indra/newview/app_settings/shaders/class1/interface/occlusionF.glsl index db130e456c..f5d2804c7f 100644 --- a/indra/newview/app_settings/shaders/class1/interface/occlusionF.glsl +++ b/indra/newview/app_settings/shaders/class1/interface/occlusionF.glsl @@ -23,13 +23,13 @@ * $/LicenseInfo$ */ -#ifdef DEFINE_GL_FRAGCOLOR -out vec4 frag_color; -#else -#define frag_color gl_FragColor -#endif +out vec4 frag_data[4]; void main() { - frag_color = vec4(1,1,1,1); + // emissive red PBR material for debugging + frag_data[0] = vec4(0, 0, 0, 0); + frag_data[1] = vec4(0, 0, 0, 0); + frag_data[2] = vec4(1, 0, 0, GBUFFER_FLAG_HAS_PBR); + frag_data[3] = vec4(1, 0, 0, 0); } |