A function defined in BBMOD_DefaultShader.gml
set_normal_roughness(_texture)
Sets uniforms BBMOD_U_NORMAL_W and BBMOD_U_IS_ROUGHNESS.
Name | Type | Description |
---|---|---|
_texture | Pointer.Texture |
The new texture with normal vector in the RGB channels and roughness in the A channel. |
Struct.BBMOD_DefaultShader
Returns self
.
Please use bbmod_shader_set_normal_roughness instead.
Copyright © 2024, BlueBurn. Built on September 07, 2024 using GMDoc.