Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Three blobs
#1
Hi
Here is a small shader with three blobs that can be moved in space.
The color is cycling and speed can be changed.
There is also control over how "blobby" it shall be when coming close to each other.
// Blobs
uniform float u_modulator1; //Blob1.x
uniform float u_modulator2; //Blob1.y
uniform float u_modulator3; //Blob2.x
uniform float u_modulator4; //Blob2.y
uniform float u_modulator5; //Blob3.x
uniform float u_modulator6; //Blob3.y
// Smoothing
uniform float u_modulator7; //Smooth_low ~0.01
uniform float u_modulator8; //Smooth_high ~0.3
//
uniform float u_modulator9; //Red speed
uniform float u_modulator10; //Green speed
uniform float u_modulator11; //Blue speed

This is my first shader for VEX Smile
 
   
   


Attached Files
.frag   3blobss.frag (Size: 1,28 KB / Downloads: 2)
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)