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




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.


30.09.20 [03:12 UTC] by everyoneishappy | 648 downloads
Show 3 older revisions

Older Revisions

17.06.19 [09:08 UTC] by everyoneishappy | 629 downloads
29.06.18 [12:45 UTC] by everyoneishappy | 1087 downloads
03.01.18 [08:01 UTC] by everyoneishappy | 1087 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


~15h ago

tekcor: Hey, does someone has an AxisDraw V3/A3 for sale?

~5d ago

nanotekt: vvvv+blender=lovvvve :D https://youtu.be/dUyeoi9mBIc

~6d ago

Patxi7: Pepper's Ghost & vvvv https://vimeo.com/632159133

~11d ago

mediadog: @manuelgonzalvez Needed to explicitly install VLC for VLC2; I use 3.0.6-win64 for stability.

~11d ago

mediadog: @manuelgonzalvez 42 getting crashes from DX11 VLC lib after last Win10 update. Switched to VLC2 plugin OK so far.

~12d ago

sunep: Looks interesting. Can't find a price though https://en.ids-imaging.com/ensenso-3d-camera-s-series.html

~22d ago

joreg: @guest re svg export: i'm afraid not.

~22d ago

joreg: @manuelgonzalvez what's stopping you? now is the time!

~22d ago

joreg: @schlonzo glad you like it!

~23d ago

schlonzo: the new burger menu is great!