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

Happy.fxh

pack functions fxh 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
29.06.18 [12:45 UTC] by everyoneishappy | 484 downloads
Bugfixes
Show 1 older revisions

Older Revisions

Happy.fxh_.zip
03.01.18 [08:01 UTC] by everyoneishappy | 484 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

anonymous user login

Shoutbox

~1h ago

io: A vvvvery vvvvriendly vvvvestival, ed. 2018 http://keroxen.com/

~1d ago

microdee: @synth: use beta37 for Notuiv and install it with vpm. this article describes why md.ecosystem-update

~1d ago

mburk: @synth Check github for superphysical Beta37. Deferred+Forward Branch.

~2d ago

synth: Getting red nodes on VL stuff, mostly SuperPhysical, Notuiv and CraftLie. Only me or there is something broken?

~2d ago

joreg: reminder: we'll do a #vvvv #vl workshop as part of #retune18 in #berlin this friday: vvvvvl-workshop-at-retune-2018 #visualprogramming #dotnet

~6d ago

tonfilm: how about debugging your #dx11 #GPU frames? debug-dx11-frames-with-nvidia-nsight

~8d ago

mrboni: Anyone know where I can get an Etherdream ILDA unit in the UK / West Europe delivery this week?https://ether-dream.com/

~9d ago

tobyk: @catweasel Re:KiNet yes, its pretty similar to artnet but with some different magic numbers. I can send you what I've used before.

~10d ago

microdee: @Hadasi: "read the field manual" I knew a slightly more explicit version of that abbreviation :D