Fade edges of a cube material - Dot product doesn't work

TorQueMoD
Fri, 24 Feb 2017 23:31:30 +0000
Rendering

Just wondering if it’s possible to mathematically fade out the edges of a cube - not at an intersection point (I’m aware of depth fade) but permanently. Dot product or Fresnel works for a sphere but not on a cube. Is this possible to do with math in a material or would I need to set it up with a unique unwrap and alpha texture?

3 posts - 1 participant