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 3 of 3

Thread: is there some ide available for glsl developping?

  1. #1
    Junior Member Newbie
    Join Date
    Jul 2014
    Posts
    5

    is there some ide available for glsl developping?

    i'm a newbie to glsl,and have study the glsl grammar for some times,i want to know if there is some ide tools available to develop shader ? if only write shader by coding,how can peoples implement various graphic appearance?like the demos on www.shadertoy.com.thanks.

  2. #2
    Junior Member Newbie
    Join Date
    Jul 2014
    Posts
    5

    shaderdesigner or rendermonkey ?

    Quote Originally Posted by fla888 View Post
    i'm a newbie to glsl,and have study the glsl grammar for some times,i want to know if there is some ide tools available to develop shader ? if only write shader by coding,how can peoples implement various graphic appearance?like the demos on www.shadertoy.com.thanks.
    any reply would be highly appreciated,i just wonder if there're common procedures can be used to develop a shader program,in my opinion, shader is hard to debug,if only write shader source code from scratch without any auxiliary tools helping,seems hard to implement the required effect,isn't it ?

  3. #3
    Junior Member Newbie
    Join Date
    Jul 2014
    Posts
    5
    Quote Originally Posted by fla888
    i want to know if there is some ide tools available to develop shader
    There are some shader authoring tools from Nvidia and AMD but afaik they are discontinued and thus lack support for the later graphics APIs: FX Composer from Nvidia and ShaderMonkey from AMD.

    I am used to write my shaders in a text editor with syntax hightlighting (here: Notepad++ with GLSL highlighting) and one of the Quick Reference Guides on my side. I don't know if there are any other editors which also support GLSL code completion.

    Quote Originally Posted by fla888
    if only write shader by coding,how can peoples implement various graphic appearance?
    If you want to write shaders like the good ones on the shadertoy site, you need a good mathematics background and a smart and/or crazy mind. I would recommend to start with easier tasks first and then increase difficulty as you progress. There are also a lot of tutorials on the internet which discuss various shader effects. Just start the google engine.

    Quote Originally Posted by fla888
    shader is hard to debug,if only write shader source code from scratch without any auxiliary tools helping
    There are a few tools on the internet which can be used for debugging shaders. First to mention and most recommended is Nvidia's Nsight which supports OpenGL/GLSL up to version 4.2. Second is AMD's GPU PerfStudio 2 which is not as comfortable to use as Nsight. Another method to debug shader code is to use additional render targets for debug outputs which you could draw in another (smaller or separate) viewport later. Since the GPU is a massively parallel and highly pipelined device it is very hard to debug, that's true.

Posting Permissions

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