Extends BBMOD_BaseShader
constructor
new BBMOD_DefaultShader(_shader, _vertexFormat)
Shader used by the default BBMOD materials.
Name | Type | Description |
---|---|---|
_shader | Asset.GMShader |
The shader resource. |
_vertexFormat | Struct.BBMOD_VertexFormat |
The vertex format required by the shader. |
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. |
Copyright © 2023, BlueBurn. Built on February 04, 2023 using GMDoc.