diff options
Diffstat (limited to 'source/blender/draw/engines/workbench/shaders/workbench_transparent_resolve_frag.glsl')
-rw-r--r-- | source/blender/draw/engines/workbench/shaders/workbench_transparent_resolve_frag.glsl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/draw/engines/workbench/shaders/workbench_transparent_resolve_frag.glsl b/source/blender/draw/engines/workbench/shaders/workbench_transparent_resolve_frag.glsl index a2c45d2f8e3..35bea830bac 100644 --- a/source/blender/draw/engines/workbench/shaders/workbench_transparent_resolve_frag.glsl +++ b/source/blender/draw/engines/workbench/shaders/workbench_transparent_resolve_frag.glsl @@ -9,8 +9,8 @@ void main() /* Revealage is actually stored in transparentAccum alpha channel. * This is a workaround to older hardware not having separate blend equation per render target. */ - vec4 trans_accum = texture(transparentAccum, uvcoordsvar.st); - float trans_weight = texture(transparentRevealage, uvcoordsvar.st).r; + vec4 trans_accum = texture(transparentAccum, uvcoordsvar.xy); + float trans_weight = texture(transparentRevealage, uvcoordsvar.xy).r; float trans_reveal = trans_accum.a; /* Listing 4 */ |