3 ms·
Thanks! The only thing that uses triangles directly is the grass (I could do some shader magic and perhaps render all the grass on a single quad, but it probabl
by gavanwoolery 13y ago
Thanks! The only thing that uses triangles directly is the grass (I could do some shader magic and perhaps render all the grass on a single quad, but it probably would not be worth it in terms of performance or visual results). Everything else is ray cast. It renders voxel data to a 2D render target, and does path tracing on that target to get the results. It more or less all happens in texture memory/FBOs with shaders. :) I will try to provide more details time willing! (Not much free time these days obviously :D)
- willvarfar 13y agoray casting or ray marching? I ask as I've done a bit of fractal rendering using distance-estimators before.
- gavanwoolery 13y agoI hate to say it but I always misuse the terms. It uses marching.