BBMOD_DefaultShader.set_normal_smoothness OBSOLETE

A function defined in BBMOD_DefaultShader.gml

set_normal_smoothness(_texture)

Description

Sets uniforms BBMOD_U_NORMAL_W and BBMOD_U_IS_ROUGHNESS.

Arguments

Name Type Description
_texture Pointer.Texture The new texture with normal vector in the RGB channels and smoothness in the A channel.

Returns

Struct.BBMOD_DefaultShader Returns self.

Obsolete

Please use bbmod_shader_set_normal_smoothness instead.

Do you find this page helpful?

Copyright © 2024, BlueBurn. Built on January 21, 2024 using GMDoc.