cubes
cubes copied to clipboard
Unconfuse lighting normals
The normal vector attribute is used as a flag indicating whether to perform lighting. This means that non-directional geometry (e.g. flat particles, circuit debug rays) cannot be lit. The “don't use lighting” mode should be split out into a uniform variable or a compiled-in flag.