lightType method

bool lightType(
  1. PbrLightTypeContext context
)

F3dLightTypeHook: told every light's type code and its row's last vec4 before it is sampled; whether a plugin's light (a code from 16 up) is one the stage lights. The engine's four only, by default.

Implementation

bool lightType(PbrLightTypeContext context) => context.code < 15.5;