mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-04 18:41:51 +00:00
- 'shader' property of block materials: shaders/materials/<name>.glslv, .glslf with material_vertex / material_fragment hooks and #param uniforms - material shaders code is included into main, translucent and shadows programs through generated headers, no extra draw calls - chunk vertex normal.w byte replaced with 'flags': bit 7 - emission flag, bits 0-6 - material shader index (vertex format size is not changed) - doc/*/block-materials.md |
||
|---|---|---|
| .. | ||
| commons.glsl | ||
| constants.glsl | ||
| fog.glsl | ||
| lighting.glsl | ||
| shadows.glsl | ||
| sky.glsl | ||
| world_fragment_header.glsl | ||
| world_uniforms.glsl | ||
| world_vertex_header.glsl | ||