1pld
OBOOpen Brush, Open Blocks, Icosa Gallery
•Created by JavierD on 6/12/2022 in #open-brush-dev-chat
GPU Intersection
Javier's suggestion above is basically the way I debugged this, previously: by looking at the intermediate textures in Unity. (Renderdoc would probably work too)
181 replies
OBOOpen Brush, Open Blocks, Icosa Gallery
•Created by JavierD on 6/12/2022 in #open-brush-dev-chat
GPU Intersection
No idea about what might be going wrong with 2020. I could try reading the code again to try and help describe the general idea and architecture; but I think this is one of those things that will require some straight up investigation and debugging.
Conservative rasterization is a red herring -- that's a minor quality improvement so that triangles smaller than 1 texel can still count as collisions. The render target for collisions is intentionally quite small, both to save on render time; and also to make the job easier for the compute shader which needs to calculate something like "are there any pixels set in this texture; if so, what is their color so I can map it back to a stroke id"
181 replies