Question by
pigwejq · Nov 10, 2020 at 10:10 AM ·
shadershadersshader programmingshader writing
Reversed UV Light with 2D PointLight (shader graph)
Hi
I need to make a flashlight, with 2D point light, that can hide elements of sprites (elements in light range, something like opposite of UV light). Is it possible to make this shader using ShaderGraph? If yes where can I find tutorial/more information? If not is it even possible in a different way?
Ref video: https://www.youtube.com/watch?v=NcAfNty16BA&ab_channel=AmplifyCreations
Ref video 2: https://www.youtube.com/watch?v=b4utgRuIekk&ab_channel=WorldofZero
Comment
Your answer
Follow this Question
Related Questions
my 2D light shader works wrong 0 Answers
Operate the shader, rotate the material 90 degrees 0 Answers
How much operations does tex2d func take? 0 Answers
How do I get the fragment position in world coordinates? 1 Answer
Shader - SV_Target 1 Answer