seanbaxter/shaders
View on GitHub ↗ ★ 499 C++
Circle C++ shaders
3 mentions on Hacker News by 3 people: 0 stories, 3 comments · first 2021-10-05 · latest 2022-03-12
20082026
-
…to compile pointer-intense C++ code should decrease even more. These are exciting times! [1]: https://github.com/seanbaxter/shaders#approaching-circle-sha... [2]: https://arxiv.org/abs/2109.14682
comment by raphlinus · 2022-03-12 · in Adding HLSL and DirectX Support to Clang and LLVM -
…and using reflection to generate a UI to manipulate those values. I do it with these shadertoys: https://github.com/seanbaxter/shaders#reflection-and-attribu... Just mark your declarations up with custom attributes: [[.imgui::range_float {…
comment by seanbax · 2021-10-16 · in Circle: C++ Automation Language -
…can even depend on hardware specific benchmarks. There is an extensive repo with examples here: https://github.com/seanbaxter/shaders . One example decodes a sprite sheet stored as a png at compile time and creates a specialised compute…
comment by orbifold · 2021-10-05 · in Unified Shader Programming in C++