glslViewer

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

BSD-3-CLAUSE License

Stars
4.6K
Committers
53

Bot releases are hidden (Show)

glslViewer - GlslViewer 3.2.3

Published by patriciogonzalezvivo about 1 year ago

To use the Windows build, please download FFmpeg 4.4 and copy bin\*.dll alongside glslViewer.exe.

glslViewer - GlslViewer 3.2.2

Published by patriciogonzalezvivo over 1 year ago

To use the Windows build, please download FFmpeg 4.4 and copy bin\*.dll alongside glslViewer.exe.

glslViewer - GlslViewer 3.2.1

Published by patriciogonzalezvivo over 1 year ago

To use the Windows build, please download FFmpeg 4.4 and copy bin\*.dll alongside glslViewer.exe.

What's Changed

https://user-images.githubusercontent.com/346914/222977048-2173b474-bb16-4b12-bdc2-1e898f817d25.mp4

New Contributors

Full Changelog: https://github.com/patriciogonzalezvivo/glslViewer/compare/v3.1.0...3.2.1

glslViewer - GlslViewer 3.0.6

Published by patriciogonzalezvivo almost 2 years ago

To use the Windows build, please download FFmpeg 4.4 and copy bin\*.dll alongside glslViewer.exe.

glslViewer - GlslViewer 3.0.4

Published by patriciogonzalezvivo almost 2 years ago

To use the Windows build, please download FFmpeg 4.4 and copy bin\*.dll alongside glslViewer.exe.

What's Changed

New Contributors

Full Changelog: https://github.com/patriciogonzalezvivo/glslViewer/compare/3.0.1...3.0.4

glslViewer - GlslViewer 3.0.1

Published by patriciogonzalezvivo almost 2 years ago

NOTE: To use the Windows build, please download FFmpeg 4.4 and copy bin\*.dll alongside glslViewer.exe.

Highlights

  • Migrating from ADA to VERA framework which incorporates lot of geometry operations from HILMA on top of a new app API similar to P5js.
  • Adding Geometry buffers for deferred rending, and screenspace techniques such us SSAO, SSR and Volumetric Scattering Lights through LYGIA

lighting_ssao
lighting_ssr
lighting_volumetric

What's Changed

New Contributors

Full Changelog: https://github.com/patriciogonzalezvivo/glslViewer/compare/2.1.2...2.2.0

glslViewer - 2.2.0

Published by patriciogonzalezvivo almost 2 years ago

What's Changed

New Contributors

Full Changelog: https://github.com/patriciogonzalezvivo/glslViewer/compare/2.1.2...2.2.0

glslViewer - GlsViewer 2.0.3

Published by patriciogonzalezvivo over 2 years ago

  • Skip light shadow map when is not call in the shader as u_lightShadowMap;
  • Add doubleBuffers (as u_doubleBuffer[NUMBER] branched by DOUBLE_BUFFER_[NUMBER])
  • Half/Float precision FBO on WASM
  • Fixed size buffers by comments. Ex: uniform sampler2D u_buffer0; // 512x512
  • Adding uniform bool u_cameraChange to flag when camera change position
  • Continuous zoom, drag for 3D scenes
  • Adding doubleBuffers examples
  • Improving GPGPU simulations examples

gv

glslViewer - GlslViewer 2.0.0

Published by patriciogonzalezvivo about 3 years ago

  • Major rearch. Splitting framework into ADA library. Which internally compiles GLFW and other GL dependencies
  • Change to use CMake for consistency across platforms
  • Cross compilation to WASM using emscripten
  • Binnary PLYs, OSC, Audio Textures and Video are now optative features
  • Using Liblo for OSC to have 6 digits precision after the floating point

Special thanks to:

  • @sp-bertrand-carre and @mihaisebea-gl for ironing out the windows compilation
  • @bespsm for cleaning the memory management of stream textures and introducing Audio textures
  • @ben-hansske and @anncxx for multi-thread frame recording
  • @ak-1 for improving the mouse behaviour
glslViewer - GlslViewer v1.6.1

Published by patriciogonzalezvivo over 4 years ago

  • Support for LST files
  • Support for Binnary PLY
  • Support for more image formats: psd, tga, bmp and gif
  • Blend modes: ADD / ALPHA / MULTIPLY/ SCREEN / etc
  • Screensaver mode
  • Better examples
  • Bug fixes
glslViewer - GlslViewer v1.6.0

Published by patriciogonzalezvivo almost 5 years ago

A lot of new things but the biggest one are

  • Support for OBJ materials
  • Support for GLTF files
  • Default PBR shader
  • OSC support
  • Windows compile rutines
glslViewer -

Published by patriciogonzalezvivo about 6 years ago

Adding:

  • Computation of tangents pre scene loading
  • Computation of Spherical Harmonics when cubemap is provided and pass as a uniform array u_SH also flags "CUBE_MAP" and "SH_ARRAY" #defines
  • Adding light object that can be control from console commands and feed uniforms: u_light and u_lightColor
  • Adding camera parameters that can be control from console commands and feed uniforms: u_camera, u_cameraAperture, u_cameraDistance, u_cameraEv100,u_cameraExposure,u_cameraFarClip,u_cameraNearClip,u_cameraSensitivity, u_cameraShutterSpeed
  • useful #defines of model attributes: "MODEL_HAS_COLORS", "MODEL_HAS_TEXCOORDS", "MODEL_HAS_NORMALS" and "MODEL_HAS_TANGENTS"
  • adding culling,[none|back|front|both] console command
  • adding debug,[on|off] visual references for model bounding box and light position through console command
  • adding u_scene_depth for depth map of the scene
glslViewer - 1.5.2

Published by patriciogonzalezvivo about 6 years ago

New features:

  • Multiple buffers using BUFFER_[N] #define flags
  • Cubemaps using -c cubemap.png
  • Support for .hdr textures and cubemaps
  • Watch for changes on dependency files
  • Save image secuence from console command
  • #ifdef BACKGROUND and #ifdef POSTPROCESSING define flags to brach subshaders for the background and a last post-processing pass ( the scene renders to uniform sampler2D u_scene;).
  • Improved console interface:
    • // > hint
    • help prints all commands
    • uniforms, buffers, textures, files, defines, frag_dependencies, vert_dependencies debug commands
    • camera_distance , camera_position get and setters
    • sequence,[from_sec],[to_sec]
    • define,[KEYWORD]/undefine,[KEYWORD]
glslViewer - 1.5

Published by patriciogonzalezvivo almost 7 years ago

  • Adding frag/vert console commands to print fragment/vertex source code
  • Adding -v/--verbose arguments
  • changing --help argument output
  • Changing -m argument for -c/--cursor
  • Compilation time now only shows on -v/--verbose mode
  • COUTs print w '//' at the beginning in case someone wants to use the output directly as source code
glslViewer -

Published by patriciogonzalezvivo almost 7 years ago

  • Adding --help argument
glslViewer -

Published by patriciogonzalezvivo about 7 years ago

  • Adding console gcc-like precompiler arguments to satisfy GLSL shaders dependencies -I[dir] -D[define]

  • Adding 'screenshot' command on CIN to save screenshots to other files rather than the specified on -o [file]

  • Adding travis and editorconfig files to help others contribute

  • General housekeeping of utils functions. Now they are split in tools/fs tools/text and tools/geom

glslViewer - 1.2

Published by patriciogonzalezvivo over 7 years ago

  • Better Makefile: Using Broadcom SDK when is possible not... only on Raspberry Pi
  • Upgrading GLM to v0.9.8.4
  • Upgrading stb_image.h to v2.14
  • Upgrading stb_image_write.h to v1.03
  • Fixing and improving pixelDensity changes
  • Compatibility with ShaderToy Image Shaders (@doug-moen)
  • Verbose comments on compiling time and improvements on warnings and errors (@doug-moen)
  • Headless support
  • fixing recursive #include system
  • console outs for time, delta and fps on demand
glslViewer - Debian Packages

Published by patriciogonzalezvivo about 8 years ago

Adding:

glslViewer - 1.0

Published by patriciogonzalezvivo about 8 years ago

Suport for platforms:
Linux Ubuntu, Linux Raspbian, Darwin OSX

Supported uniforms:

float u_time
vec2 u_mouse
vec2 u_resolution
vec3 u_date
sampler2D u_tex#
sampler2D u_backbuffer

Features:

  • Realtime updates for passed files (fragment/vertex shaders and images)
  • Support for obj/ply geometries
  • Support for textures
  • Backbuffer pingpong
  • glslLoader script to download and run log examples under http://thebookofshaders.com/log
  • Uniforms values can be overwrote using POSIX console in (CIN)