Interface: ChunkMaterialHost
What the chunk material factory needs from the world: the renderer that owns the material registry, and the shading inputs every chunk material of the world reads alike.
Properties
chunkRenderer
• chunkRenderer: ChunkRenderer
options
• options: Object
Type declaration
| Name | Type |
|---|---|
blockTextureFiltering | AtlasFilteringMode |
chunkSize | number |
maxHeight | number |
subChunks | number |
swayProfileCapacity | number |
textureUnitDimension | number |
shadingInputs
• shadingInputs: ChunkShadingInputs
Methods
hasCustomBlockMaterial
▸ hasCustomBlockMaterial(id): boolean
Parameters
| Name | Type |
|---|---|
id | number |
Returns
boolean