glslShader transparency bug

glslShader transparency bug

trubb1
Contributor Contributor
331 Views
2 Replies
Message 1 of 3

glslShader transparency bug

trubb1
Contributor
Contributor

any ogsfx glslShader using the "transparency" technique annotation fails to depth sort objects correctly even when 100% opaque.

0 Likes
332 Views
2 Replies
Replies (2)
Message 2 of 3

damaggio
Mentor
Mentor

Please Zip the scene here for Autodesk support.

0 Likes
Message 3 of 3

trubb1
Contributor
Contributor

simple scene using the glslShader w/ AutodeskUberShader.ogsfx which uses the "transparency" annotation in it's technique. if you switch to "opaque" the shader will render fine. 

 

with "transparency" annotation, depth peeling seems to be the only algorithm that will render correctly, but only if there is 100% on the shader opacity attr.