Files
godot/drivers
Omar El Sheikh 8a43b222c7 Fix Vertex Attribute Specification Octahedral
For octahedral compressed normals/tangents, we use vec4 in the shader
regardless of whether a normal/tangent does/doesn't exist

For the case where we only have a normal vector, we need to specify that
there are only two components being used when calling glVertexAttrib

Before we would always specify that there were 4 components, and used
offsets to determine where in the vertex buffer to read data from but
this doesn't work on all platforms
2021-11-08 12:11:48 -05:00
..
2021-06-16 11:56:25 +01:00
2021-09-23 10:36:31 +02:00
2021-09-23 10:36:31 +02:00
2021-09-23 10:36:31 +02:00
2021-09-23 10:36:31 +02:00
2020-10-16 10:34:47 +01:00