Open zya opened 8 years ago
Good call! Out of curiosity are you not using this runtime library to load the shaders? The runtime.updateShaders
call is what passes the time uniform automatically to all shaders. I still think this would be an improvement either way.
@DelvarWorld No, I am not using the runtime library. Was just trying to load the shader in an existing THREE.js application.
Seeing this as well. Is this project still active?
I am not actively working on this project, but I have nebulous plans to revisit it and improve everything. I think a clear improvement would be to ditch the runtime all together, and just export runtime code that will properly create the Three shader material
Cool. I think both could be useful. Enable raw shader loading without the runtime, but then use the runtime to expose the shader parameter tweaking, maybe with a UI like the 3js gui stuff. Also, I would change your pricing model. I don't think the monthly subscription model makes sense, but I'd gladly pay/donate ~50-100 bucks outright. That said, I did manage to fix my issue mentioned above with some judicious use of the chrome debugger. This is a cool project and definitely bridges the gap between shadertoy, and less technical programmers doing three.js stuff. I'd be happy to help you out w this if you're interested.. Cheers!
For example:
Exporting this shader: http://shaderfrog.com/view/35 Will result in:
It would be good if it (
uniforms.time.value
) had a default value of0.5
for example. So it would work straight away when imported to a THREE.js application.