struct
RenderEnvironmentResource which stores the scene's ambient light and sky colors.
Public variables
- glm::vec3 ambient
- Ambient light color.
- glm::vec3 skyGradient
- Sky gradient color, where the first element specifies the sky color below, and the the second specifies the sky color above.