mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2024-12-12 05:31:59 +00:00
a08261c620
This allows the use of an entity id to index into the entity data and fetch the transform and colormod data in the vertex shader, thus making instanced rendering possible. Non-world brush entities are still not rendered, but the world entity is using both the entity data buffer and entid buffer.
4 lines
63 B
C
4 lines
63 B
C
struct Entity {
|
|
mat3x4 transform;
|
|
vec4 color;
|
|
};
|