three-gpu-pathtracer icon indicating copy to clipboard operation
three-gpu-pathtracer copied to clipboard

Figure out how to use Float textures on iOS

Open gkjohnson opened this issue 1 year ago • 1 comments

Currently half float textures are used on ios and any platform that doesn't support float texture blending. However this will result in heavily skewed colors during blending. Screenshots after ~ 5000 samples

HalfFloat

image

Float

image

gkjohnson avatar Jan 13 '24 04:01 gkjohnson

On ios we can render to two buffers and manually blend while using nearest filter instead of relying on hardware support. Or we can perform the blend in the raytracing buffer itself.

gkjohnson avatar Jan 13 '24 04:01 gkjohnson