Page MenuHome

Various Light path node outputs don't work on lights.
Closed, ArchivedPublic

Description

System Information
Operating system: Linux-5.17.0-1-amd64-x86_64-with-glibc2.33 64 Bits
Graphics card: NVIDIA GeForce RTX 3060/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 510.68.02

Blender Version
Broken: version: 3.3.0 Alpha, branch: master, commit date: 2022-05-06 21:48, hash: rB98a04ed45242
Worked: Unsure as I have tested versions dating back to Blender 2.79 and they don't work either.

Short description of error
Many of the outputs of the Light Path node doesn't work when used on lights.

Exact steps for others to reproduce the error

  1. Change the render engine to Cycles.
  2. Select a light in the scene and give it a shader node setup.
  3. In the shader node setup, use the Light Path node to drastically change the look of the node under specific conditions (An example image of a node setup can be found below). You will notice it doesn't work in a lot of situations. Here is a list of outputs that don't appear to work properly.
    • Is Camera Ray
    • Is Diffuse Ray
    • Is Glossy Ray
    • Is Singular Ray
    • Is Reflection Ray
    • Is Transmission Ray

Example node setup:

Here is a file with steps 1-3 done for you:

Event Timeline

Seems this is a known limitation as mentioned in https://developer.blender.org/T50209#407835 and nothing changed in that front. So archiving as it is not a bug.