Unity 2020.3.34 LTS shader warnings
Shader warning in 'Shapes/Rect Lighten': integer modulus may be much slower, try using uints if possible. at Core.cginc(131) (on gles) Shader warning in 'Shapes/Rect Lighten': integer modulus may be much slower, try using uints if possible. at Core.cginc(133) (on gles)
Shader warning in 'Shapes/Triangle Lighten': integer modulus may be much slower, try using uints if possible. at Core.cginc(228) (on gles)
Looks like the numerical constants just need to be marked as unsigned.
For example:
uint quadrantPrev = (quadrant+3u)%4u;
Reporting a bug? please specify Unity version:
2020.3.34
Reporting a bug? please specify Shapes version:
4.1.3
Reporting a bug? please specify Render Pipeline:
Built-in render pipeline
^These are the warnings I am getting in Unity 2021.3.5 when using Android + Vulkan: