Skip to content

Commit

Permalink
Remove note about night sky in PhysicalSkyMaterial
Browse files Browse the repository at this point in the history
A night sky texture has been supported for quite some time now: godotengine#38791 So the instruction to use your own shader for this seems to be outdated.
  • Loading branch information
ttencate authored Jun 4, 2024
1 parent 7b63ac4 commit 6e45eb9
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion doc/classes/PhysicalSkyMaterial.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@
<description>
The [PhysicalSkyMaterial] uses the Preetham analytic daylight model to draw a sky based on physical properties. This results in a substantially more realistic sky than the [ProceduralSkyMaterial], but it is slightly slower and less flexible.
The [PhysicalSkyMaterial] only supports one sun. The color, energy, and direction of the sun are taken from the first [DirectionalLight3D] in the scene tree.
As it is based on a daylight model, the sky fades to black as the sunset ends. If you want a full day/night cycle, you will have to add a night sky by converting this to a [ShaderMaterial] and adding a night sky directly into the resulting shader.
</description>
<tutorials>
</tutorials>
Expand Down

0 comments on commit 6e45eb9

Please sign in to comment.