Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics

Results depend on camera field of view, how to fix?

A topic by helpsypoo created Dec 12, 2019 Views: 300 Replies: 1
Viewing posts 1 to 2

I'm using the tool to make a squishy blob character. Most of the body is raymarched, but the eyes are mesh spheres.

When the camera's field of view is narrowed, the result of the raymarching is sensitive to camera distance, causing the blob's skin to go outside its eyes when the camera is far away, making the eyes disappear (in gif below). I want the narrower field of view to give scenes a small, toy-like look, but I also want to be able to bring the camera close or far without changing the effective shape of the blobs. 

I tried increasing resolution and adding steps and extra accuracy, but I was unable to fix. Any ideas?


I was able to fix by going into Raymarching.cginc and changing pixelRadius from 0.001 to 0.0001.