summaryrefslogtreecommitdiff
path: root/src/libs/ray/ray_render.c
diff options
context:
space:
mode:
authorVito Caputo <vcaputo@pengaru.com>2018-12-31 17:14:48 -0800
committerVito Caputo <vcaputo@pengaru.com>2018-12-31 17:14:48 -0800
commitfda032d3e3445f449cd82053505a399a404fa6d3 (patch)
treea2625a954b5f6b4069386662b1069ab62a3001b5 /src/libs/ray/ray_render.c
parent6a643daad79440988845f9242acf50055fa17c52 (diff)
modules/submit: add bilinearly-interpolated variant
This substantially reworks the cell sampling in submit. As a result, it's now threaded in the rendering phase which now resembles a texture mapper sans transformations. This produces a full-screen rendering rather than a potentially smaller one when the resolution wasn't cleanly divisable by the grid size. A new module, named submit-softly has also been added to expose the bilinearly interpolated variant. The transition between cells is also employing a smoothstep so it's not actually linear. The original non-interpolated version is retained as well, at the same submit module name. Some minor cleanups happened as well, nothing worth mentioning, except perhaps that the cells are now a uint8_t which is fine unless someone tries to redefine NUM_PLAYERS > 255.
Diffstat (limited to 'src/libs/ray/ray_render.c')
0 files changed, 0 insertions, 0 deletions
© All Rights Reserved