A Unity shader for creating an infinite white space with a seamless horizon.
Endless Expanse is a custom Unity shader that simulates an infinite white room, often referred to as "infinity space." This effect creates a seamless transition between the ground and the sky, ideal for showcasing objects without the distraction of complex backgrounds or for creating minimalistic environments.
- Seamless ground-to-sky gradient
- Customizable horizon blending
- Easy to integrate into any Unity project
To use the shader in your Unity project:
- Download or clone this repository.
- Import the shader into your Unity project's Assets folder.
- Create a new Material and select the
Custom/EndlessExpanse
shader. - Adjust the Material properties to suit your scene.
- Apply the Material to your skybox in lighting settings.
The shader properties can be customized directly in the Unity Inspector:
_Color
- The primary color of the space, typically set to white._HorizonColor
- The color of the horizon, can be a slight gradient for depth._HorizonBlendRange
- Controls the sharpness of the horizon blend._HorizonHeight
- Adjusts the vertical position of the horizon line.
Contributions are welcome! If you'd like to improve EndlessExpanse, feel free to fork this repository and submit a pull request.
This project is licensed under the MIT License - see the LICENSE.md file for details.