v0.99.2
Shader asserts are in. Thanks Alexey Gladkov aka @Rewlion!
Example: /*$(Assert: i < 5, "i was %f", i)*/
See UserDocumentation/GigiShaders_Documentation for more info.
Functionality:
- Set Variables have support for min and max
- Subgraph loops can use CONSTANT variables for loop count. Dynamic variable support coming later.
Compiler:
- Better error messaging when subgraphs fail to inline. Says what the problem is.
- Large graphs were having slow downs due to ReferenceFixupVisitor scanning the graph too deeply too often. A visited flag cleaned this up.
Viewer:
- Variables can have a UI scope to group them better in the UI
- Conditional Copy Resource nodes now say whether their condition is true or false in the render graph window.
- Better protection against using bad formats for depth textures
- Better explanation when a texture can't be created (like, when it has an invalid size specified)
- New snapshots interface to be able to save and load cameras, variable values, imported resource settings, or what window is being viewed. Generalizes a couple pre-existing features that needed more functionality.
Techniques:
- GigiJam2024 techniques added
- A depth of field comparison demo at Techniques/PostProcessing/DepthOfField/dof_demo.gg