content/hifi-public/scripts/shaders/exampleUserDataV2.json
Dale Glass 0d14e5a379 Initial data.
Needs a lot of cleanup. Data has been de-duplicated, and where identical copies existed, one of them
has been replaced with a symlink.

Some files have been excluded, such as binaries, installers and debug dumps. Some of that may still
be present.
2022-02-13 18:59:11 +01:00

25 lines
No EOL
1.2 KiB
JSON

{
"ProceduralEntity": {
"shaderUrl": "file:///C:/Users/bdavis/Git/hifi/examples/shaders/exampleV2.fs",
// V2 and onwards, shaders must include a version identifier, or they will default
// to V1 behavior
"version": 2,
// Any values specified here will be passed on to uniforms with matching names in
// the shader. Only numbers and arrays of length 1-4 of numbers are supported.
//
// The size of the data must match the size of the uniform:
// a number or 1 value array = 'uniform float'
// 2 value array = 'uniform vec2'
// 3 value array = 'uniform vec3'
// 4 value array = 'uniform vec4'
//
// Uniforms should always be declared in the shader with a default value
// or failure to specify the value here will result in undefined behavior.
"uniforms": {
// uniform float iSpeed = 1.0;
"iSpeed": 2.0,
// uniform vec3 iSize = vec3(1.0);
"iSize": [1.0, 2.0, 4.0]
}
}
}