selected
The features selected for applying the post-process.
In the fragment shader, use czm_selected
to determine whether or not to apply the post-process stage to that fragment. For example:
if (czm_selected(v_textureCoordinates)) {
// apply post-process stage
} else {
out_FragColor = texture(colorTexture, v_textureCoordinates);
}
Content copied to clipboard