Wally869 / DirectionalSpriteShader

Shader created using shadergraph which implements billboarding and sprite selection from a spritemap according to the position of the camera and its angle
https://www.noveltech.dev/sprite-change-camera-direction/
MIT License
15 stars 2 forks source link
shader shadergraph shaders sprite-animation sprites spritesheet unity unity2d unity3d universal-render-pipeline

DirectionalSpriteShader

Shader created using shadergraph which implements billboarding and sprite selection from a spritemap according to the position of the camera and its angle

Writeups:
https://www.noveltech.dev/sprite-change-camera-direction/
https://www.noveltech.dev/sprite-change-camera-direction-2/

test sprite