-
-
Notifications
You must be signed in to change notification settings - Fork 35.9k
Open
Labels
Description
Description
I think similar to this.info.autoReset
is should be possible to avoid incrementing frame ID during render.
Currently there is a statement:
this.info.render.frame ++
This is used to check if skeleton update is needed in
if (this.updateMap.get(skeleton) != frame)
When someone uses render
to implement custom passes, e.g. custom shadow map rendering, currently skeleton is updated in each pass.
Solution
There could be a way to disable auto-increment of this.info.render.frame
, perhaps by setting this.info.autoFrame = false
, which would be true
by default. Only when this flag is not false, the this.info.render.frame ++
would be done.
Alternatives
Currently one can decrement this.info.render.frame
after calling render
.
Additional context
No response