A function defined in __bbmod_shader_set.gml
bbmod_shader_set_specular_color(_shader, _texture)
Sets uniforms BBMOD_U_MATERIAL and BBMOD_U_IS_METALLIC.
Name | Type | Description |
---|---|---|
_shader | Asset.GMShader |
The shader to set the uniforms for. |
_texture | Pointer.Texture |
The new texture with specular color in the RGB channels. |
Copyright © 2024, BlueBurn. Built on September 07, 2024 using GMDoc.