To start off, I couldn't really find any appropriate community to post this question in so I picked this one. I was wondering how the audio shaders of the popular webGL based shader tool worked, because when, even though I had obviously heard of...
I'm trying to learn how to take advantage of gpu possibilities for threejs and webgl stuff so im just analysing code to get some patterns, methods how things are done and I need some code explanation.  I found this example: One million particles,...
I have a ShaderEffect in QtQuick 2.0 and I'm trying to pass a Canvas (which I'm drawing on) to it as it's ShaderEffectSource.  Does anyone know how to do this?  The ShaderEffect is willing to take an Image item as its ShaderEffectSource,...
I have a scene with multiple objects in webgl. For each object I want to use a different vertex and a fragment shader. My first question is, is it possible to have a shader for each object? I am aware it is possible in opengl.  This is something simi...
I need to access the text of a string which I import using HTML from inside another script.  I include the text file in question in the html file:  <script src="shaders/fragmentshader.fs" id=fragmentshader></script>   I then want...
I am lately experimenting and learning webgl and shaders, as i am trying to build animation for the website background. I was able to port simple examples from shadertoy into three.js to play with it. Now i am trying to better understand more advance...
I was wondering what would be more suitable for music visualization, vertex or pixel shaders especially as far as performance goes. I tried using pixel shaders like the ones shown on shadertoy.com then I looked at vertex shaders shown on vertexshade...
Note that much of this code as changed as of edit 3 below.   So I really like a blog post by Brandon Jones (found here). I wanted to convert his code to Three.js, but I am having some issues. You can find his full code here. Here is my attempt so...
First, thank you so much for this great work and community.  I am trying to write a simple low poly style water material.  I know there are different ways of writing this kind of thing, and I would like as much as possible to do it in a js script (I...
I have been playing with GPUComputationRenderer on a modified version of this three.js example which modifies the velocity of interacting boids using GPU shaders to hold, read and manipulate boid position and velocity data.  I have got to a stage whe...

Tags

Recent Questions

Top Questions

Home Tags Terms of Service Privacy Policy DMCA Contact Us

©2020 All rights reserved.