Please add gl_ClipDistance or gl_ClipVertex

These are so important for our high performance GUI system.
In our GUI system, nearly every widget, such as buttons, lit control items, each has its own clipping region.
Typically there are more than 100 clipping regions simultaneously.

gl_ClipDistance performs very well in this situation,

but fragment shader clip() is too slow.

This topic was automatically closed 183 days after the last reply. New replies are no longer allowed.