Binds a texture directly to texture unit one then activates it.
If the texture is already at unit one, it skips the bind.
Make sure to call clearNormalMap
after using this method.
name | type | description |
---|---|---|
texture | WebGLTexture |
The WebGL texture that needs to be bound. |