Anecoz / AneRend

Prototyping Vulkan engine
16 stars 1 forks source link

Procedural models should be part of the acceleration structure #3

Open Anecoz opened 1 year ago

Anecoz commented 1 year ago

Procedural content, such as grass, should be added to the acceleration structure used for ray tracing.

Grass uses triangle strips today, so maybe change to triangles. Have the grass vertex shader write to a special "procedural" model vertex buffer?