BBMOD_DefaultShader.set_normal_roughness OBSOLETE

A function defined in BBMOD_DefaultShader.gml

set_normal_roughness(_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 roughness in the A channel.

Returns

Struct.BBMOD_DefaultShader Returns self.

Obsolete

Please use bbmod_shader_set_normal_roughness instead.

Do you find this page helpful?

Copyright © 2024, BlueBurn. Built on September 07, 2024 using GMDoc.