» Happy.fxh
This site relies heavily on Javascript. You should enable it if you want the full experience. Learn more.

Happy.fxh

pack

about

Lots of HLSL functions in a (somewhat) systematic and organised collection of header files. I made these for use with my vvvv projects and contributions, but should be fairly usable with HLSL in general.

Headers.txt - just links to the fxh files in best practice format for easy copy pasting in vvvv context

sbuffer.fxh - DX11 Structured Buffer Helpers

calc.fxh - Calculus functions & macros

noise.fxh - Noise basis functions & utilities

map.fxh - Handy mapping functions

transform.fxh - Transformation matrix functions

sdf.fxh - loads of signed distance fields & helpers. Quite a lot are ported from hg_sdf GLSL lib by MERCURY (CC BY-NC 2016) http://mercury.sexy/hg_sdf

raymarch.fxh - Raymarching related functions

uv.fxh - UV and texture mapping functions

color.fxh - Color space conversions

spline.fxh - Some cubic b-splines

To install everything via VPM: https://vvvvpm.github.io/#Happy.fxh To install manually just place in /packs folder.
For more frequent updates, bug fixes and issue reporting: https://github.com/everyoneishappy/happy.fxh

MIT License- feel free to use in your creative & commercial projects. If used in production a credit is very appreciated:

Kyle McLean /http://everyoneishappy.com

I’m also very happy if you are doing something interesting and want to employ me on a project basis.

download

Happy.fxh_.zip
30.09.20 [03:12 UTC] by everyoneishappy | 1028 downloads
Show 3 older revisions

Older Revisions

Happy.fxh_.zip
17.06.19 [09:08 UTC] by everyoneishappy | 817 downloads
50beta38.1
Happy.FXH_.zip
29.06.18 [12:45 UTC] by everyoneishappy | 1381 downloads
Bugfixes
Happy.fxh_.zip
03.01.18 [08:01 UTC] by everyoneishappy | 1381 downloads
1st upload

everyoneishappy 29/06/2018 - 12:46
  • Added 2D & 3D vector control parameters to vector valued Bias & Gain functions
  • Various bugfixes, including some inverted normals horror that was making problems elsewhere
sinus 18/06/2019 - 08:35

thank you! great!

everyoneishappy 30/09/2020 - 03:13

Updated along with InstanceNoodles and Fieldtrip for NODE

anonymous user login

Shoutbox

~24h ago

joreg: vvvvTv S02E03 is out: Logging: https://youtube.com/live/OpUrJjTXBxM

~3d ago

~5d ago

joreg: Follow TobyK on his Advent of Code: https://www.twitch.tv/tobyklight

~8d ago

joreg: vvvvTv S02E02 is out: Saving & Loading UI State: https://www.youtube.com/live/GJQGVxA1pIQ

~8d ago

joreg: We now have a presence on LinkedIn: https://www.linkedin.com/company/vvvv-group

~15d ago

joreg: vvvvTv S02E01 is out: Buttons & Sliders with Dear ImGui: https://www.youtube.com/live/PuuTilbqd9w

~22d ago

joreg: vvvvTv S02E00 is out: Sensors & Servos with Arduino: https://visualprogramming.net/blog/2024/vvvvtv-is-back-with-season-2/

~22d ago

~22d ago

fleg: hey there! What's the best tool for remote work? Teamviewer feels terrible. Thanks!

~1mth ago

joreg: Last call: 6-session vvvv beginner course starting November 4: https://thenodeinstitute.org/courses/ws24-5-vvvv-beginners-part-i/