Extend specification of "geomPropValue" to be able to specify varying vs uniform inputs #1051
Labels
Core
Core change required
Enhancement
New feature or request
ShaderGen
Shader Generation change required
Milestone
#1042, fixes so that varying inputs are created for all but boolean and string properties. The focus for hardware shading APIs (e.g. GLSL) and tbd effect on software shading APIs (e.g OSL)
This is a placeholder update the specification to be able to explicit allow denoting whether something is varying vs uniform.
If we take into account support for USD "primvars" then note that varying also has a frequency (per face vs per vertex) which
could be considered as a "hint" for the binding.
Some ideas:
Idea 1: from @niklasharrysson (keep same interface with references which indicate frequencey)
So before you can call the geompropvalue node to get the value from a geomprop this geomprop has to be defined first using a geompropdef element. If/when we start using this we could introduce a "uniform" attribute on these definitions to tag the geomprops as being uniform or varying. Boolean and string would naturally always be "uniform"
Idea 2: from @JGamache-autodesk (vary the interface to indicate frequency)
The text was updated successfully, but these errors were encountered: