Comments on: Simple Billboarding Vertex Shader (GLSL) https://www.geeks3d.com/20140807/billboarding-vertex-shader-glsl/ Graphics Cards and GPUs News, Graphics Programming, Home of FurMark Fri, 24 Nov 2017 14:20:14 +0000 hourly 1 https://wordpress.org/?v=6.7.1 By: Aily https://www.geeks3d.com/20140807/billboarding-vertex-shader-glsl/#comment-82380 Sun, 15 Feb 2015 05:00:17 +0000 http://www.geeks3d.com/?p=8861#comment-82380 Great!!! It works like a charm!

for HLSL matrices spherical sprite is same, but cylimdrical is:

M[0][0] = 1;
//M[0][1] = 0;
M[0][2] = 0;

M[1][0] = 0;
//M[1][1] = 1;
M[1][2] = 0;

M[2][0] = 0;
//M[2][1] = 0;
M[2][2] = 1;

]]>