VOXEL: explicitly make the voxel vertex position highp
and not aligned for sse operationsmaster
parent
fcd1ba859f
commit
e068fb701e
|
@ -14,7 +14,7 @@ namespace voxel {
|
|||
* as well as color and material information.
|
||||
*/
|
||||
struct VoxelVertex {
|
||||
glm::i16vec3 position;
|
||||
glm::vec<3, int16_t, glm::highp> position;
|
||||
/** 0 is the darkest, 3 is no occlusion at all */
|
||||
union {
|
||||
struct {
|
||||
|
|
Loading…
Reference in New Issue