version 3.03 # Output Z data only Display "shadow.map" "shadow" "z" # Shadow is bigger than output image, this should give good resolution # Format 512 512 1 Format 256 256 1 # Clip it for better quality # Clipping 5 10 # No antialiasing ShadingRate 1 PixelSamples 1 1 PixelFilter "box" 1 1 # Placecam camera transform Projection "perspective" "fov" [57.30] # Projection "perspective" "fov" [20] Rotate -35.26 1.00 0.00 0.00 Rotate 45.00 0.00 1.00 0.00 Translate -5.00 -5.00 5.00 WorldBegin # Don't need any light declarations # LightSource "ambientlight" 0 "intensity" [0.2] # The sphere casts a shadow Surface "null" Sphere 1 -1 1 360 # The ground doesn't. Kill it. # Patch "bilinear" "P" [-10 -1 -10... WorldEnd