Define normal_attrib when not using octahedral compression in GLES3
This commit is contained in:
parent
66497e2ecb
commit
81dc6a7688
@ -27,6 +27,8 @@ layout(location = 0) in highp vec4 vertex_attrib;
|
|||||||
/* clang-format on */
|
/* clang-format on */
|
||||||
#ifdef ENABLE_OCTAHEDRAL_COMPRESSION
|
#ifdef ENABLE_OCTAHEDRAL_COMPRESSION
|
||||||
layout(location = 1) in vec4 normal_tangent_attrib;
|
layout(location = 1) in vec4 normal_tangent_attrib;
|
||||||
|
#else
|
||||||
|
layout(location = 1) in vec3 normal_attrib;
|
||||||
#endif
|
#endif
|
||||||
#if defined(ENABLE_TANGENT_INTERP) || defined(ENABLE_NORMALMAP) || defined(LIGHT_USE_ANISOTROPY)
|
#if defined(ENABLE_TANGENT_INTERP) || defined(ENABLE_NORMALMAP) || defined(LIGHT_USE_ANISOTROPY)
|
||||||
#ifdef ENABLE_OCTAHEDRAL_COMPRESSION
|
#ifdef ENABLE_OCTAHEDRAL_COMPRESSION
|
||||||
|
Loading…
Reference in New Issue
Block a user