stackgl

stackgl/glsl-sdf-normal

Get the normal vector of a position within a signed distance field.

HTML
8
0
Other

This is a small utility library for computing the normal vector at a given point in a signed distance field (SDF). It's intended for use in GLSL shaders, particularly in ray marching or SDF-based rendering contexts, where you need to know surface normals for lighting or shading calculations.

Total donated
Undistributed
Share with your subscribers:

Recipients

How the donated funds are distributed

Support the dependencies of stackgl/glsl-sdf-normal

Account's avatar
Draws a big triangle
Account's avatar
local development server that aims to make using browserify fast and fun
Account's avatar
browser-side require() the node way
Account's avatar
Small module for fitting a canvas element within the bounds of its parent.
Account's avatar
A shorthand module for creating a new WebGL context and basic animation loop.
Account's avatar
WebGL shader wrapper
Account's avatar
Generates a ray for Shadertoy-style raycasting in GLSL
Account's avatar
Basic fog functions for GLSL: linear, exp and exp2
Account's avatar
Generate a 3D lookAt matrix in GLSL
Account's avatar
webgl-noise shaders ported to work with glslify
Account's avatar
Given a signed distance function and ray, trace a scene to find the first point of intersection.
Account's avatar
Smooth minimum functions for GLSL
Account's avatar
Given a screen size, get values between -1 and +1 for the current pixel
Account's avatar
A node.js-style module system for GLSL!

Support the repos that depend on stackgl/glsl-sdf-normal

Top contributors

hughsk's profile
hughsk
2 contributions

Recent events

Kivach works on the Obyte network, and therefore you can track all donations.

No events yet