aboutsummaryrefslogtreecommitdiff
path: root/template/opengl.mako
AgeCommit message (Collapse)Author
2019-09-25Use floats for texture storage, test curl visualizationAdrian Kummerlaender
Using `GL_RGBA32F` as the texture storage format instead of packing values into the unit interval.
2019-09-23Implement basic diffusive lighting in volumetric raytracerAdrian Kummerlaender
Approximated surface normals are encoded into the moments texture. These normals are restored when the ray marcher encounters an impermeable cell. Note that normals are shifted to be >= 0 as negative values are not representable using OpenGL textures. If this prototype works out it might be preferable to calculate better surface normals during preprocessing to be stored separately. Compare to 6123c8a.
2019-09-21Extract GL moments, particle buffers and add texture bufferAdrian Kummerlaender