**Shader dev struggles**

The reason I started working on my #photographysim was to see if I could leverage the N64's 3-point texture filter to create nice looking DOF blur. And... it's so much harder than I thought.

The test scene below tries to simulate a f/1.4, 85mm lens. But because I'm using texture filtering instead of true blur, increasing the blur just causes the shader to sample pixels further away, which is inaccurate.

Maybe mipmaps would help? #shaderdev #indiedev #wip #gamedev