Conrad Parker
Conrad Parker
Shadertoy defines the current date (and time of day) as: ``` glsl uniform vec4 iDate; // (year, month, day, time in seconds) ```
Shadertoy provides the following for mouse input: ``` glsl uniform vec4 iMouse; // mouse pixel coords. xy: current (if MLB down), zw: click ``` Mouse input would need to be...
Shadertoy defines the following inputs for data channels (music, textures, videos): ``` glsl uniform float iChannelTime[4]; // channel playback time (in seconds) uniform vec3 iChannelResolution[4]; // channel resolution (in pixels)...
This patch adds a generator for `std::variant`. The implementation is as for `rc::Variant`, with the addition of a generator for `std::monostate`. It should probably: - [ ] Do a feature...
The preprocessor is part of the GLSL spec, section 3.4 of https://www.khronos.org/registry/gles/specs/2.0/GLSL_ES_Specification_1.0.17.pdf Is it even possible to handle #define and #ifdef properly in language-glsl?
when listing files [recursively] we should be able to handle globs like a/_/b/_ usefully (ie. eagerly filtering)
This allows some basic math, palette generation etc. to be done in constructors or at compile-time. imgui_internal.h: Add constexpr (replace "static inline" with "static constexpr") in math functions. This also...