Skip to content

ludicrousdisplay/glslViewer

This branch is 758 commits behind patriciogonzalezvivo/glslViewer:main.

Folders and files

NameName
Last commit message
Last commit date
Dec 1, 2019
Jul 19, 2020
Jul 19, 2020
Jul 27, 2020
Oct 22, 2019
Aug 17, 2020
Jul 27, 2020
Jul 31, 2020
Aug 10, 2017
Oct 22, 2019
Aug 17, 2020
Jul 19, 2020
Aug 11, 2017
Jul 19, 2020
Jul 19, 2020
Jul 19, 2020
Jul 19, 2020
Jun 26, 2020
Jun 26, 2020
Apr 8, 2020
Jan 3, 2018

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 or OSC.

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

GlslViewer gives support to:

  • fragment and vertex shaders on GLSL 120
  • resolve #include dependencies
  • adding/deleting #define keys through console IN commands and OSC
  • automatically generated set of defines based on the platform, buffer, render pass, geometry attributes and materials properties.
  • passing custom uniforms (float, int, vec2, vec3 and vec4) through console IN or OSC
  • import of Textures (png, bmp, jpg, tga, hdr and gif)
  • import of Cubemaps and spherical harmonics (png, jpg, tga, hdr)
  • import LST, PLY, OBJ or GLTF files (and their dependencies)
  • 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 or OSC
  • different debug modes (histogram, textures, buffers, bounding box, etc)
  • shadow maps
  • headless rendering
  • fullscreen and screensaver mode
  • image export
  • PNG sequence export

Wiki themes

Bugs to fix

[ ] Support for GL (Full KMS) or GL (Fake KMS) on RaspberryPi

[ ] Depth frag shader for scene depthmap ( u_sceneDepth ) instead of rendering to multiple targets ( only on RPI )

[ ] Depth frag shader for light's shadowMap, to work on RPI

Author

Patricio Gonzalez Vivo: github | twitter | instagram | website

Acknowledgements

Thanks to:

About

Console-based GLSL Sandbox for 2D/3D shaders shaders

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • C 48.7%
  • C++ 38.4%
  • Objective-C 7.9%
  • HTML 3.5%
  • Perl 0.4%
  • Makefile 0.3%
  • Other 0.8%