Draw walls using vertex pulling
This commit is contained in:
@@ -20,7 +20,6 @@ void main()
|
||||
vec2 d = vec2(p1.xy - p2.xy);
|
||||
float dist = distance(p1xy,p2xy);
|
||||
float tcoordx = dist / 50;
|
||||
vec4 norm = vec4( d.y, -d.x, 0, 0);
|
||||
gPos = p1;
|
||||
gl_Position = vec4(theMat * p1);
|
||||
gTexCoords = vec3 (0,0,tcoordz);
|
||||
|
||||
Reference in New Issue
Block a user