JIT
Creating an inner shadow shader for 2D pixel art based on sun direction
implement a shader that creates inner shadow of 2d pixel art input texture according to parameter named as "sun direction angle"
Updated files
v1
take texture as an input
Updated files
v2
generate normal map from the input texture and use it to define the depth of texture
Updated files
v3