mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-08 04:21:50 +00:00
add emission gbuffer attachment
This commit is contained in:
parent
8a3306ed41
commit
5ec9f14021
12 changed files with 101 additions and 31 deletions
|
|
@ -44,7 +44,14 @@ class BlocksRenderer {
|
|||
|
||||
SortingMeshData sortingMesh;
|
||||
|
||||
void vertex(const glm::vec3& coord, float u, float v, const glm::vec4& light, const glm::vec3& normal);
|
||||
void vertex(
|
||||
const glm::vec3& coord,
|
||||
float u,
|
||||
float v,
|
||||
const glm::vec4& light,
|
||||
const glm::vec3& normal,
|
||||
float emission
|
||||
);
|
||||
void index(uint32_t a, uint32_t b, uint32_t c, uint32_t d, uint32_t e, uint32_t f);
|
||||
|
||||
void vertexAO(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue