You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Background: When a feature in a primitive become translucent we generate an opaque command and a translucent command. CPUStylingPipelineStage is responsible for rendering only opaque features in the opaque command and only translucent features in the translucent command.
The problem is that renderResources.alphaOptions.alphaMode is set to AlphaMode.BLEND and #define ALPHA_MODE_BLEND is set for both commands.
In ModelExperimentalFS.glsl this means the opaque command actually goes down the ALPHA_MODE_BLEND code path and doesn't discard alpha-mask pixels. Which leads to the artifacts in the gif below.
This is a
ModelExperimental
bugBackground: When a feature in a primitive become translucent we generate an opaque command and a translucent command.
CPUStylingPipelineStage
is responsible for rendering only opaque features in the opaque command and only translucent features in the translucent command.The problem is that
renderResources.alphaOptions.alphaMode
is set toAlphaMode.BLEND
and#define ALPHA_MODE_BLEND
is set for both commands.In
ModelExperimentalFS.glsl
this means the opaque command actually goes down theALPHA_MODE_BLEND
code path and doesn't discard alpha-mask pixels. Which leads to the artifacts in the gif below.Sandcastle
N12E045_D101_S002_T001_L4_U12_R0.glb.zip
The text was updated successfully, but these errors were encountered: