Refactor arc shader so it uses only matrix uniform

This commit is contained in:
jgk
2021-06-10 11:52:39 +02:00
parent 822db37a58
commit e016d3aa9e
4 changed files with 39 additions and 38 deletions
+2 -1
View File
@@ -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;
}