Skip to content

dalihao/glslViewer

 
 

Repository files navigation

glslViewer Build Status

Donate

GlslViewer is a flexible console-base OpenGL Sandbox to display 2D/3D GLSL shaders without the need of an UI. You can definitely make your own UI or wrapper using the Python Module (include) or any other tool that communicates back/forth with glslViewer thought the standard POSIX console In/Out.

GlslViewer support both 2D shaders and/or 3D shaders when a geometry (PLY/OBJ) is provided.

GlslViewer gives support to:

  • fragment and vertex shaders on GLSL 120 (compatible with WebGL 1.0 and OpenGL ES 2.0)
  • resolve #include dependencies
  • adding/deleting #defines, plus a rich set of automatically generated set of defines.
  • adding/deleting uniforms (float, int, vec2, vec3 and vec4)
  • import of Textures
  • import of Cubemaps and spherical harmonics
  • import PLY/OBJ (with materials)
  • default vert/frag shaders with PBR lighting model
  • hot reload of files on changes
  • One default light and one default camera
  • Interactive commands thought POSIX console IN/OUT
  • headless rendering and image export
  • PNG sequence export

Wiki themes

Author

Patricio Gonzalez Vivo: github | twitter | instagram | website

Acknowledgements

Thanks to:

Packages

No packages published

Languages

  • C++ 67.9%
  • Objective-C 21.5%
  • C 9.6%
  • Python 0.4%
  • GLSL 0.2%
  • HTML 0.2%
  • Other 0.2%