» 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 | 731 downloads
Bugfixes
Show 1 older revisions

Older Revisions

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

~4h ago

metrowave: Yes, thanks for the streamming.

~2d ago

Hadasi: ...classic

~2d ago

Hadasi: @welove the videos are still up there https://www.twitch.tv/wirmachenbunt/videos

~2d ago

welovemedia: Big thanks for the stream, will this stay online or be shared as a download for those who could not watch it live?

~2d ago

CeeYaa: Big THX for the daylong streaming - and amazing Project Insights https://www.twitch.tv/videos/412932722

~3d ago

u7angel: twitch livestream vvvv gamma

~4d ago

u7angel: @domj, sure

~4d ago

domj: @u7angel: nice! How about the talk later at 7?

~4d ago

u7angel: vvvv-gamma-presentation will be streamed on twitch, starts 2pm, channel name is vvvv gamma

~4d ago

joreg: vvvv heads in #hamburg #kiel: if you're bored this thursday, please come join us for a workshop and/or talk: vvvv-gamma-presentation