Unity C# and GLSL code to simulate customizable macular degeneration scotomas for each eye in a VR application. The scotomas' position can be updated with real-time gaze coordinates from an eye tracker to allow the scotomas to move with eye movements.