I am looking for a way to append shader defines for all commands.
What i am currently doing :
- Creating empty RenderPath()
- Looping through all commands and appending to vertexShaderDefines and pixelShaderDefines.
- Append commands to new RenderPath, add all renderTargets
- Set new RenderPath to viewport.
I see all the object in viewport, but define does not seem to pass inside the shader.
My question is related to other already asked Update RenderPath and/or RenderPathCommand, but I don’t want to resurrect it. @cadaver?