aboutsummaryrefslogtreecommitdiff
path: root/template/opengl.mako
AgeCommit message (Collapse)Author
2020-06-20Deprecate MomentsVertexBufferAdrian Kummerlaender
Not necessary and failed on some systems for some unknown reason.
2020-06-20Fix usage of MomentsTexture in volumetric examplesAdrian Kummerlaender
2020-06-19Use lattice-internal moments buffer for particlesAdrian Kummerlaender
2019-12-28Adapt existing channel example to new SDF-based rendering and voxelizationAdrian Kummerlaender
2019-10-06Use OpenCL access qualifiers only for image objectsAdrian Kummerlaender
It seems I was overeager in adding those qualifiers to non-image buffers as they are only defined by the standard in relation to image objects. Adding the qualifiers to normal buffers causes no observable performance difference on Nvidia targets and fails compilation when targeting AMD or Intel.
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