Archive 17/01/2023.

Scene pass in shader

sabotage3d

Is there currently any way of checking which pass we are currently rendering in the shader? Similar to the VS PS defines in the quad or alternatively using uniform float for the index of the pass.

sabotage3d

Just found it is actually possible with VS, PS defines.