Console-based GLSL Sandbox for 2D/3D shaders
BSD-3-CLAUSE License
Bot releases are visible (Hide)
Published by patriciogonzalezvivo over 4 years ago
Published by patriciogonzalezvivo almost 5 years ago
A lot of new things but the biggest one are
Adding:
u_SH
also flags "CUBE_MAP" and "SH_ARRAY" #definesu_light
and u_lightColor
u_camera
, u_cameraAperture
, u_cameraDistance
, u_cameraEv100
,u_cameraExposure
,u_cameraFarClip
,u_cameraNearClip
,u_cameraSensitivity
, u_cameraShutterSpeed
culling,[none|back|front|both]
console commanddebug,[on|off]
visual references for model bounding box and light position through console commandu_scene_depth
for depth map of the scenePublished by patriciogonzalezvivo about 6 years ago
New features:
#define
flags-c cubemap.png
#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;
).// >
hinthelp
prints all commandsuniforms
, buffers
, textures
, files
, defines
, frag_dependencies
, vert_dependencies
debug commandscamera_distance
, camera_position
get and setterssequence,[from_sec],[to_sec]
define,[KEYWORD]
/undefine,[KEYWORD]
Published by patriciogonzalezvivo almost 7 years ago
frag
/vert
console commands to print fragment/vertex source codeAdding 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
Published by patriciogonzalezvivo over 7 years ago
stb_image.h
to v2.14stb_image_write.h
to v1.03Published by patriciogonzalezvivo about 8 years ago
Adding:
u_date
year by adding + 1900 https://github.com/patriciogonzalezvivo/glslViewer/commit/a189557046841f7c279f8a147ca5162e5404f5c5
#defines
on shader for platforms (RaspberryPi's GPU driver have to many discrepancies) https://github.com/patriciogonzalezvivo/glslViewer/commit/419778b6236ed1aab3b5898fd5438300d8bc7d75
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:
glslLoader
script to download and run log examples under http://thebookofshaders.com/log