mirror of
https://github.com/MMqd/godot-nishita-sky-with-volumetric-clouds.git
synced 2024-12-22 16:07:29 +08:00
Minor edits
This commit is contained in:
parent
df3fe0cbd1
commit
7064a1ffd3
@ -79,6 +79,6 @@ The variables prefixed with `precomputed_` are set by the `NishitaSky.gd` script
|
||||
* Position sun, stars, and moon using a real world date/time
|
||||
|
||||
## Images
|
||||
* Moon albedo image was rendered from [NASA](https://svs.gsfc.nasa.gov/cgi-bin/details.cgi?aid=4720)
|
||||
* Moon albedo was rendered from [NASA](https://svs.gsfc.nasa.gov/cgi-bin/details.cgi?aid=4720)
|
||||
* Night sky HDRI was underexposed and compressed to webp from [NASA](https://svs.gsfc.nasa.gov/4851#media_group_5169)
|
||||
* Earth image was color corrected and converted to webp from [NASA](https://visibleearth.nasa.gov/images/74142/september-blue-marble-next-generation/74159l)
|
||||
* Earth image was color corrected and compressed to webp from [NASA](https://visibleearth.nasa.gov/images/74142/september-blue-marble-next-generation/74159l)
|
||||
|
@ -294,8 +294,8 @@ vec4[4] sample_sky(vec3 dir, vec3 pos, float visiblity) {
|
||||
|
||||
/* Begin Cloud Parameters */
|
||||
|
||||
// Cloud Raymarching based on: A. Schneider. “The earthRadiusal-Time Volumetric
|
||||
// Cloudscapes Of Horizon: Zero Dawn”. ACM SIGGRAPH. Los Angeles, CA: ACM
|
||||
// Cloud Raymarching based on: A. Schneider. "The earthRadiusal-Time Volumetric
|
||||
// Cloudscapes Of Horizon: Zero Dawn". ACM SIGGRAPH. Los Angeles, CA: ACM
|
||||
// SIGGRAPH, 2015. Web. 26 Aug. 2015.
|
||||
|
||||
uniform sampler3D worlnoise : filter_linear_mipmap, repeat_enable;
|
||||
@ -488,7 +488,7 @@ void sky() {
|
||||
float horizon_dist = dir.y + horizon;
|
||||
|
||||
if (clouds) {
|
||||
/* start Clouds */
|
||||
/* Begin Clouds */
|
||||
// if (POSITION.y < cloud_top){
|
||||
if ((AT_CUBEMAP_PASS && AT_QUARTER_RES_PASS) ||
|
||||
(!AT_CUBEMAP_PASS && AT_HALF_RES_PASS)) {
|
||||
|
Loading…
Reference in New Issue
Block a user