A constructor defined in BBMOD_DefaultShader.gml
Extends BBMOD_BaseShader
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 |
---|---|
MaxPunctualLights DEPRECATED | Maximum number of punctual lights in the shader. |
Name | Description |
---|---|
set_emissive OBSOLETE | Sets the BBMOD_U_EMISSIVE uniform. |
set_metallic_ao OBSOLETE | Sets uniforms BBMOD_U_MATERIAL and BBMOD_U_IS_METALLIC. |
set_normal_roughness OBSOLETE | Sets uniforms BBMOD_U_NORMAL_W and BBMOD_U_IS_ROUGHNESS. |
set_normal_smoothness OBSOLETE | Sets uniforms BBMOD_U_NORMAL_W and BBMOD_U_IS_ROUGHNESS. |
set_specular_color OBSOLETE | Sets uniforms BBMOD_U_MATERIAL and BBMOD_U_IS_METALLIC. |
set_subsurface OBSOLETE | Sets the BBMOD_U_SUBSURFACE uniform. |
BBMOD_DefaultLightmapShader, BBMOD_DefaultSpriteShader DEPRECATED, BBMOD_ParticleShader
Copyright © 2024, BlueBurn. Built on September 07, 2024 using GMDoc.