"2d light texture node is not allowed by Universal implementation"

Making this thread here so there’s a result in google since that would’ve saved me time.

The problem:


“Validation: 2d Light Texture Node is not allowed by Universal implementation”

Next post for solution…

1 Like

Solution:


Light Texture Node works for Sprite Custom Lit shader graphs. It gets angry if you try to use it in Sprite Lit graphs.

1 Like

Lo-renzo to the rescue (again)! This was the first result on Google. Thank you! :smile:

To add to this, using a 2D Light Texture node within a Sub Graph will generate the same warning. However, if you use this Sub Graph (despite the warning) in a supported Shader Graph (i.e. “Sprite Custom Lit” or “Sprite Unlit”) the node will work as expected.

1 Like