bbmod_shader_set_normal_smoothness

A function defined in __bbmod_shader_set.gml

bbmod_shader_set_normal_smoothness(_shader, _texture)

Description

Sets uniforms BBMOD_U_NORMAL_W and BBMOD_U_IS_ROUGHNESS.

Arguments

Name Type Description
_shader Asset.GMShader The shader to set the uniforms for.
_texture Pointer.Texture The new texture with normal vector i the RGB channels and smoothness in the A channel.
Do you find this page helpful?

Copyright © 2024, BlueBurn. Built on April 26, 2024 using GMDoc.