
setAttrib(enum)
- The official documentation says that enum is ignored and value of "tangent" is always used.
enum
- Type: integer
- attribute location value
Note:
- Shaders work with Viewport Shading GLSL and Viewport Shading Multitexture.
- Shaders don't work with Viewport Shading Singletexture.

Sample Code