Hello! I have a question.
In the following Playground, VAT works, but when using GeometryBufferRenderer with
scene.enableGeometryBufferRenderer() ;
if you check Inspector < Texture < gBuffer_Normal
, you can see the initial value of the instance’s normal without the animation playing. Can you help identify what the problem might be?
However, in the official BabylonJS VAT Playground, you can see the normal texture with the animation applied.
good question for @Evgeni_Popov who is deep down into that for the frame graph
In fact, it doesn’t work with the official PG VAT either, as VAT is simply not supported by the geometry renderer:
I display the normal texture on the plane, and you can see it’s not updated. You can comment line 72 (scene.stopAllAnimations()
) to see animated spiders, but these are wrong, they all use the same skeletal animation, they are not using VAT.
You can make it work with a frame graph, though:
We don’t have any documentation yet and it’s still a work in progress, but we plan for a first release in the upcoming 8.0.
4 Likes
that is an effing good use of the graph!!!
Wow, I’m looking forward to the frame graph. I hope version 8.0 gets released soon. Thank you very much for the response
We made a breaking change today in the frame graph framework, so here’s a fixed PG: