#HELP wanted with accessing 2D light mask with shaders

1 messages · Page 1 of 1 (latest)

silent fulcrum
#

I read about this a bit online and got to know i need to use the _ShapeLightTexture0 reference but it doesnt seems to work...
I have it not show in inspector, not default values, using a sprite unlit shader graph but still it seems unity is not passing the light mask in...
I set the output to base to see and all i see is a white or black (depending on if i set Mode to White/Black).

#

here are the properties fot the Texture2D

eager briar
#

I think there's now a "2D Light Texture" node which exposes them (but should only be used in the Sprite Custom Lit graph)
And assuming 2D Renderer of course