Hi,
I think that I didn't explain correctly how I use the uber shader, it's a
shader that will change with properties of the material. Our shader is
rebuild when lighting, engine settings,... changed so it might be rebuild
at anytime for already existing objects. To avoid to regenerate the shader
Hi,
a QFrameAction is for code that should be executed once per frame not a
one time thing. It's mainly useful for prototyping as it can be quite
expensive due the backend/frontend synchronisation it entails.
To have some operation completed before rendering a part of your scene
graph, just
I have some operations that I need to do before the scene-graph start the
rendering or a least be able to do an operation before a specific node is
rendered.
I want to start by building the source code of the uber-shader used by my
custom material. So I tried to use a QFrameAction on my root scene