AndrewRayCode / AndrewRayCode/ShaderFrog-Runtime
ShaderFrog specific uniforms do not have a default value when exporting as THREE.js
Open
- Dominant language
- JavaScript
- Stars
- 79
- Forks
- 16
- PR merge metrics
- No merged PRs in 30d
Description
For example:
Exporting this shader: http://shaderfrog.com/view/35
Will result in:
``` json
{
"id": 35,
"name": "Oil or Fire",
"fragment": "...",
"vertex": "...",
"uniforms": {
"time": {
"type": "f",
"glslType": "float",
"description": "",
"textureId": null,
"runtime": {
"texture": null
}
}
},
.....
}
```
It would be good if it (`uniforms.time.value`) had a default value of `0.5` for example. So it would work straight away when imported to a THREE.js application.
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.