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


pack functions fxh hlsl


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.


29.06.18 [12:45 UTC] by everyoneishappy | 587 downloads
Show 1 older revisions

Older Revisions

03.01.18 [08:01 UTC] by everyoneishappy | 587 downloads
1st upload

everyoneishappy 29/06/2018 - 11: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

anonymous user login


~2d ago

ravazquez: @catweasel it was late when I wrote that, it's probably not the case, will test and report

~2d ago

catweasel: @ravazquez in separate instances of vvvv? Awesome if so!

~4d ago

ravazquez: @karistouf you can use my Global S&R contribution for this purpose

~5d ago

joreg: yes, no S/R. OSC is one way to communicate btw. instnces.

~5d ago

karistouf: @joreg: between 2 differents instances of VVVV on same computer,no S and R (values) possible ? only OSC way ?

~7d ago

tonfilm: glad to share the second update on the #vl #xenko #3d library: #vvvv #visualprogramming #creativecoding vl-xenko-3d-engine-update-2

~9d ago

joreg: rather toot then tweet? follow the hype and us on mastodon: https://mastodon.xyz/@vvvv #vvvv

~10d ago

ggml: any recommendation for renting visuals-grade pcs in berlin ?

~10d ago

metrowave: Structure Sensor Core now for Windows: https://store.structure.io/buy/structure-core cool features, could be useful in vvvv