Page MenuHome

Crash When Shading Textures+Transparency
ClosedPublic

Authored by Jeroen Bakker (jbakker) on Mar 26 2019, 8:42 AM.

Details

Summary

When texure shading is enabled, the transparency accum shaders were not set/updated.
This resulted into a crash when transparent objects were rendered when shading mode
was set to texture.

This patch will add the V3D_SHADING_TEXTURE_COLOR to the modes for OIT so the
shaders are set.

@Clément Foucault (fclem) just a sanity check that this is valid. V3D_SHADING_MATERIAL_COLOR is a fallback for when no textures are available that can result enabling the OIT; Basically OIT is enabled for most cases. Only single and random does not.

Diff Detail

Repository
rB Blender

Event Timeline

Jeroen Bakker (jbakker) retitled this revision from Fix T62874: Crash When Shading Textures+Transparency to Crash When Shading Textures+Transparency.Mar 26 2019, 8:48 AM
Jeroen Bakker (jbakker) edited the summary of this revision. (Show Details)
This revision is now accepted and ready to land.Mar 28 2019, 2:50 PM
This revision was automatically updated to reflect the committed changes.