BBMOD_DefaultShader

Extends BBMOD_BaseShader

constructor

new BBMOD_DefaultShader(_shader, _vertexFormat)

Description

Shader used by the default BBMOD materials.

Arguments

Name Type Description
_shader Asset.GMShader The shader resource.
_vertexFormat Struct.BBMOD_VertexFormat The vertex format required by the shader.

Methods

Name Description
set_emissive Sets the bbmod_Emissive uniform.
set_metallic_ao Sets the bbmod_Material uniform.
set_normal_roughness Sets the bbmod_NormalW uniform.
set_normal_smoothness Sets the bbmod_NormalW uniform.
set_specular_color Sets the bbmod_Material uniform.
set_subsurface Sets the bbmod_Subsurface uniform.

See also

BBMOD_DefaultMaterial

Do you find this page helpful?

Copyright © 2023, BlueBurn. Built on February 04, 2023 using GMDoc.