Home
Shaders
Links
About
Grayscale depending Z-Buffer values
The closer, the lighter a model is.
Uses the Z Buffer to determine the distance from the camera
Shader source :
https://pastebin.com/UdjGnuhK
Camera script :
https://pastebin.com/etZLkWJD
Models come from :
http://tf3dm.com/3d-model/house-interior--81890.html