Closed FiniteSingularity closed 1 year ago
I checked against a few of my own shader files, and they worked fine. Also checked against some of the demo files, and they all seemed to still be working. At some point we probably want to modify the demo files to have sane limits, using these new functions.
This PR adds optional minimum, maximum, step size, and widget type annotations to input fields. For example:
Will add a slider that has a minimum of -1.0, maximum of 1.0, and a step size of 0.01. Also adds a drop-down select widget for integer fields, e.g.:
PR also adds a preprocessing step for HLSL files allowing for
#include "../relative/path/to/file.effect"
to include an external hlsl file. Currently#include
doesn't check for circular includes.