45

I'm looking for some kind of tool to work with GLSL. I want to experiment with shaders in the WebGL application, so what I'm looking for is something like RenderMonkey. As far as I know - RenderMonkey is not supported anymore, so there must be some other tool that took it's place.

The best would be if I could do both the "effect composing" like RM and the raw GLSL code development.

genpfault
  • 47,669
  • 9
  • 68
  • 119
Juriy
  • 4,591
  • 8
  • 32
  • 51

6 Answers6

31

Looking forward to see some nice answers.

In the meantime, I recommend having a play with ShaderToy and FractalLab

shader toy

FractalLab

Vili
  • 1,494
  • 13
  • 37
George Profenza
  • 45,059
  • 16
  • 133
  • 201
10

It's not a full IDE, but the WebGL inspector browser extension by benvanik seems promising:

http://benvanik.github.com/WebGL-Inspector/

From his page a number of features that might be along the lines you're looking for:

  • Extension for injecting into pages
  • Embed in an existing application with a single script include
  • Capture entire GL frames
  • Annotated call log with stepping/resource navigation and redundant call warnings
  • Pixel history see all draw calls that contributed to a pixel + blending information
  • GL state display
  • Resource browsers for textures, buffers, and programs

I've only used it a little bit, but it seems to be a lot better than working in the bare browser.

laslowh
  • 8,036
  • 3
  • 32
  • 43
  • Now that I've used this plugin a bit more, I can give it my full endorsement. It's pretty great. – laslowh May 31 '11 at 17:11
8

This may or may not help but if you have access to a Mac you can use Quartz Composer for this. For example you can put a trackball and clear patch in a composition, add a glsl shader patch to the trackball and add add the a teapot patch to the glsl shader patch. Then if you go to settings on the glsl shader, you have access to the vertex and fragment shader code. Any changes you make will be displayed in real time. The only drawback is that as far as I can tell you have to use hard-coded constants instead of uniforms. It's not perfect but its fine for playing with new effects and rapid prototyping of algorithms.

domgblackwell
  • 4,824
  • 1
  • 17
  • 11
6

If you develop on the Mac, there is the OpenGL shader builder from Apple:

http://developer.apple.com/graphicsimaging/opengl/shader_image.html

M-V
  • 4,917
  • 6
  • 46
  • 54
  • 1
    I think your link is outdated. I found the Shader Builder [at this URL](http://developer.apple.com/library/mac/#documentation/GraphicsImaging/Conceptual/OpenGLShaderBuilderUserGuide/Introduction/Introduction.html) – Siu Ching Pong -Asuka Kenji- Feb 27 '13 at 05:20
  • how to download it -alternative source- if developer account expired at Apple? –  Oct 04 '13 at 18:54
  • Links above is dead. Get Shader Builder from this:https://developer.apple.com/download/more/?=graphics – ooOlly Mar 31 '17 at 03:28
5

I don't know if you've already found a tool that works for you. But, there's:

ShaderMaker http://cgvr.cs.uni-bremen.de/teaching/shader_maker/

which is cross-platform (I've tested it under Windows and OSX)

and

glman http://web.engr.oregonstate.edu/~mjb/glman/

which is windows-only but, according to the authors, will be ported to mac eventually.

Greg Sadetsky
  • 3,995
  • 1
  • 30
  • 42
SaldaVonSchwartz
  • 3,669
  • 2
  • 37
  • 76