Refactor arc shader so it uses only matrix uniform
This commit is contained in:
@@ -13,7 +13,8 @@ uniform mat4 worldMat;
|
||||
|
||||
void main()
|
||||
{
|
||||
gl_Position = worldMat * vec4(position.xyz,1);
|
||||
//gl_Position = worldMat * vec4(position.xyz,1);
|
||||
gl_Position = vec4(position.xyz,1);
|
||||
vColor = color;
|
||||
vparams = saEaRadWdth;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user