Age | Commit message (Collapse) | Author |
|
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.
|
|
Using `GL_RGBA32F` as the texture storage format instead of packing
values into the unit interval.
|
|
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.
|
|
|