Android opaque regular polygon not clipping (OnePlus One URP 10.2.2)
When using opaque regular polygons (like the filled beehive in the ShapesGallery) on an older android device there seems to be a precision problem which results in all pixels being rendered.
My guess would be that `VERY_SMOL` is too small for the half values of older android devices. Here is a test with an OnePlus One:
#define VERY_SMOL 0.000001
#define VERY_SMOL 0.0001
From what I can tell, the results seem to look fine with a larger VERY_SMOL number, so maybe the easiest solution is to make VERY_SMOL A_LITTLE_BIT_BIGGER? ;)
Otherwise, I'm having a splendid time with shapes so far. Thanks for making such a beautiful piece of software!
Reporting a bug? please specify Unity version:
2020.2.0f1
Reporting a bug? please specify Shapes version:
2.3.2
Reporting a bug? please specify Render Pipeline:
it's weird how this seems to only affect the regular polygon though, as this is used absolutely everywhere! I'll have to look into it
Hm, that's true, very strange. I thought it might be connected to using the opaque pass, but other shapes are using the opaque pass in the scene as well.
If you need me to test other shaders/setups, let me know :)