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

Happy.fxh

pack hlsl

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 | 160 downloads
Show 3 older revisions

Older Revisions

Happy.fxh_.zip
17.06.19 [09:08 UTC] by everyoneishappy | 543 downloads
50beta38.1
Happy.FXH_.zip
29.06.18 [12:45 UTC] by everyoneishappy | 938 downloads
Bugfixes
Happy.fxh_.zip
03.01.18 [08:01 UTC] by everyoneishappy | 938 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
sinus 18/06/2019 - 07:35

thank you! great!

everyoneishappy 30/09/2020 - 02:13

Updated along with InstanceNoodles and Fieldtrip for NODE

anonymous user login

Shoutbox

~3d ago

joreg: absolutely. if it is for a repo that is public, just submit a pullrequest. otherwise please start a forum thread.

~3d ago

benjawmino: @joreg I ended up figuring out BezierSegment yesterday, so nevermind! Tell me, could a user submit a help patch? :)

~3d ago

joreg: @benjawmino please elaborate on this question a bit in a new forum thread. otherwise it is hard to answer..

~4d ago

benjawmino: so are there no splines/curves in gamma yet??

~8d ago

skyliner: wanna do drone shows or applications? then check this super cool project of our man e1n

~12d ago

NoseBleedIndustries: Thanks Joreg! The few minutes I was able to see, very good workshops!

~12d ago

joreg: @NoseBleedIndustries please give us some days, we'll have an announcement soon...

~12d ago

NoseBleedIndustries: I could not assist the Node20 (workshops ) Any Idea when we will have access to the links of the recordings?

~14d ago

bjoern: unity has c# bindings for usd, under apache license: https://github.com/Unity-Technologies/usd-unity-sdk