A constructor defined in BBMOD_TerrainShader.gml
Extends BBMOD_BaseShader
new BBMOD_TerrainShader()
Base class for BBMOD terrain shaders.
Name | Type | Description |
---|---|---|
_shader | Asset.GMShader |
The shader resource. |
_vertexFormat | Struct.BBMOD_VertexFormat |
The vertex format required by the shader. |
Name | Description |
---|---|
LayersPerDrawCall | Number of terrain layers that this shader can render in a single draw call. Default value is 1. Hard maximum is 3 because of limited number of texture samplers. |
MaxLayers | Maximum number of terrain layers that this shader supports. Default value is 5. |
Name | Description |
---|---|
MaxPunctualLights DEPRECATED | Maximum number of punctual lights in the shader. |
Copyright © 2024, BlueBurn. Built on September 07, 2024 using GMDoc.