mirror of
https://github.com/OpenSpace/OpenSpace.git
synced 2026-02-26 06:49:09 -06:00
Merge pull request #870 from OpenSpace/issue/848
Bring back stars to the Earth's night.
This commit is contained in:
Submodule apps/OpenSpace/ext/sgct updated: 7492a4fdd6...8f2ed18481
Submodule ext/ghoul updated: 48d3b96434...cf5b311dda
@@ -2,7 +2,7 @@
|
||||
* *
|
||||
* OpenSpace *
|
||||
* *
|
||||
* Copyright (c) 2014-2019 *
|
||||
* Copyright (c) 2014-2020 *
|
||||
* *
|
||||
* Permission is hereby granted, free of charge, to any person obtaining a copy of this *
|
||||
* software and associated documentation files (the "Software"), to deal in the Software *
|
||||
@@ -414,11 +414,10 @@ vec3 inscatterRadiance(inout vec3 x, inout float t, inout float irradianceFactor
|
||||
return finalScatteringRadiance;
|
||||
} else {
|
||||
//return ((r-Rg) * invRtMinusRg)*spaceColor.rgb + finalScatteringRadiance;
|
||||
return attenuation * spaceColor.rgb + finalScatteringRadiance;
|
||||
return spaceColor.rgb + finalScatteringRadiance;
|
||||
// return attenuation * spaceColor.rgb +
|
||||
// (vec3(1.0) - attenuation) * finalScatteringRadiance;
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
/*
|
||||
|
||||
Submodule modules/kameleon/ext/kameleon updated: 338d482c86...1b4549edc7
Reference in New Issue
Block a user