Part of the Khronos Group
OpenGL.org

The Industry's Foundation for High Performance Graphics

from games to virtual reality, mobile phones to supercomputers

Search:

Type: Posts; User: hashbrown

Search: Search took 0.00 seconds.

  1. GC, thanks, I'm clear now :)

    GC, thanks, I'm clear now :)
  2. How can I move pixels of a particular color and leave the others in place?

    I know how to draw shapes, move, and deform them by modifying the uv coordinates:




    // Code moves a circle to the right of the screen...

    void main () {

    vec2 uv = gl_FragCoord.xy...
Results 1 to 2 of 2