Stencil buffer exceeded, clipping will not work as expected

#1

Hi everyone, i have a quick question.

I have dynamically loaded nodes with stencil on them, and everything was fine until the number of nodes was below some number (15 for me). When 16th node was draw, i receive this warning: “Stencil buffer exceeded, clipping will not work as expected” and clipping become weird.

So if there is a way to increase the size of the stencil buffer or i have to find a workaround?

0 Likes

Zoo Economy (Strategy-puzzle)
#2

I think you need to find a workaround I’m afraid.

0 Likes

#3

No problem, i have already one in mind

2 Likes

#4

We faced with same problem.
Defold uses the full stencil or is it possible to use scissors test?

0 Likes

#5

We use stencil buffer for this.
Not that this is for the clipping logic between the gui nodes, and there are are some upper limits.

2 Likes