Notes on Building

Thoughts, experiments, and hard-won lessons from building real software.

Posts

Unity Standard Shader with Custom Clipping Planes

For a project of mine, I wanted to have custom clipping planes for objects, so that if an object is intersection with another, it would hide any part after the intersection.

It looks like this:

I decided to extend the Standard shader provided by Unity3D to achieve this effect.

Continue reading

Hello, been a while!

typescript
// test

const v = () => {
  const x = 4;
}

console.log(v());