Part of the Khronos Group
OpenGL.org

The Industry's Foundation for High Performance Graphics

from games to virtual reality, mobile phones to supercomputers

Results 1 to 2 of 2

Thread: internally edit an image

  1. #1
    Newbie Newbie
    Join Date
    Jul 2018
    Posts
    1

    internally edit an image

    i am using webgl with glsl v300es so i assume its relevant to post here
    can/how would i go about editing an image with in a fragment shader but keeping it with in the gpu (with out sending it to the cpu and uploading again)

  2. #2
    Senior Member OpenGL Guru Dark Photon's Avatar
    Join Date
    Oct 2004
    Location
    Druidia
    Posts
    4,421
    The usual way to do this is to use a Framebuffer Object (FBOs) for rendering. This allows you to read from GPU textures and write to GPU textures.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •