unitycoder / DoomStyleBillboardTest

Shader to display camera facing billboard, with different texture based on player position angle
http://unitycoder.com/blog/2015/04/06/doom-style-billboard-shader/
59 stars 12 forks source link

Textures are not POT (power of two) #3

Open unitycoder opened 9 years ago

unitycoder commented 9 years ago

(The included sample textures) And if you add padding to texture to make it 512x512, image position is wrong.. maybe need to add shader variables for giving sprite height and amount?

unitycoder commented 8 years ago

and should find better animated sample sprite sheet..

unitycoder commented 8 years ago

one problem with animated texture was that wrap mode was set to clamp, it broke the shader from certain angles..