Jump to content

[WIP][1.9.x-1.12.x] Scatterer-atmospheric scattering (0.0838 - 14/08/2022) Scattering improvements, in-game atmo generation and multi-sun support


blackrack

Recommended Posts

Something looks much, much better than the current version here. Is it the glow at the edge of the atmosphere? Anyway, that looks amazing. What a nice birthday present.

THe glow at the edge of the atmosphere is actually the stock edge glow effect, I haven't tuned it yet, I might disable it or tone it down, the glow at the edge of the first pic looks very excessive.

Link to comment
Share on other sites

@blackrack, @rbray89

The change to the Material constructor we have talked about earlier just went into the first Unity release (5.2.0b1).

Shaders must come from assets or be fully precompiled in the editor.

Next version of KSP is unlikely to use 5.2 as it's unlikely to leave the beta soon enough, but it's worth reminding I guess.

Link to comment
Share on other sites

@blackrack, @rbray89

The change to the Material constructor we have talked about earlier just went into the first Unity release (5.2.0b1).

Next version of KSP is unlikely to use 5.2 as it's unlikely to leave the beta soon enough, but it's worth reminding I guess.

We'll just have to use the asset package method, it'll be a bit of an inconvenience but we'll get used to it.

Link to comment
Share on other sites

THe glow at the edge of the atmosphere is actually the stock edge glow effect, I haven't tuned it yet, I might disable it or tone it down, the glow at the edge of the first pic looks very excessive.

IMHO Is not excessive, just a bit oversaturated:

cR7ypXC.jpg

:wink:

Link to comment
Share on other sites

IMHO Is not excessive, just a bit oversaturated:

http://i.imgur.com/cR7ypXC.jpg

:wink:

Pretty much what I meant, if you look at the top image in this page you can see the values are being "burned" into white.

Edited: Also, I just noticed something from that pic, if the EVE orbital clouds had a normal map they could look much more impressive

Edited by blackrack
Link to comment
Share on other sites

Also, I just noticed something from that pic, if the EVE orbital clouds had a normal map they could look much more impressive

I think remember... Eve clouds had normal maps a lot of versions ago. Which was pretty cool for some things... I think Rbray89 put out the normals after a few versions with the particle system, because was pretty expensive in performance terms (normals for the particles and for 8k cloudmaps... this is ksp, you know...).

Maybe a 4k normal map would be enough to achieve certain effects, but I don't know how will be the result of the cloud map+normal in combination with the particles without normals...

Link to comment
Share on other sites

A question I have is will this be able to render different scattering depending on solar light color? I ask because I have used kopernicus to switch Kerbal out for a blue main sequence star. I know many other things are being worked on and that the author Is quite busy, but I was curious if this would be possible as I wondered what the scattering from a blue star might look like. Thanks. The mod is super amazing.

Link to comment
Share on other sites

A question I have is will this be able to render different scattering depending on solar light color? I ask because I have used kopernicus to switch Kerbal out for a blue main sequence star. I know many other things are being worked on and that the author Is quite busy, but I was curious if this would be possible as I wondered what the scattering from a blue star might look like. Thanks. The mod is super amazing.

The current implementation is a quick adaptation of proland's code, the equations used for precomputing the scattering tables assume a white solar light color.

In theory it's possible to change the solar light color but it's not a priority for me right now. There has also been a lot of academic work lately that improves on Bruneton's atmospheric scattering method, faster calculations, multiple suns (concurrent scattering from multiple sources), different color suns are all possible http://i.imgur.com/NZUtcU3.png but these would all be further down the road.

Edited by blackrack
Link to comment
Share on other sites

Does this look like a good temporary solution for the orbital view?

http://i.imgur.com/RcSeeHF.jpg

http://i.imgur.com/VRaY90b.jpg

Edited: Also, no more z-fighting and weird stuff at high altitude as well as a smooth transition to soupy ocean level.

Looks pretty good, but Kerbin looks overexposed. Is it possible to tone down the brightness a bit?

Link to comment
Share on other sites

The current implementation is a quick adaptation of proland's code, the equations used for precomputing the scattering tables assume a white solar light color.

In theory it's possible to change the solar light color but it's not a priority for me right now. There has also been a lot of academic work lately that improves on Bruneton's atmospheric scattering method, faster calculations, multiple suns (concurrent scattering from multiple sources), different color suns are all possible http://i.imgur.com/NZUtcU3.png but these would all be further down the road.

Hearing that it's on the table even if off in the distance is all I wanted, so thanks :).

Link to comment
Share on other sites

Hello everyone. I'm not sure this is the right thread to post, but I have a wierd issue with EnvironmentalVisualEnhancements 7.4 and Scatterer. Are they compatible at this moment? I've seen screenshots with these mods used together, and they looked fine. Anyway, problem is odd constant shivering between clouds from EVE and atmosphere from Scattering. Looks like this http://i.imgur.com/4dMjiX5.gif. If I zoom out a bit, everything looks normal, - http://i.imgur.com/CfjuvmW.jpg - so it is depending from altitude, which is approximately about 300 km. Effect is reproducing on KSP 1.0.4 both 32-bit and 64-bit versions. Can I do some, I dunno, tweaking to fix this?

Scatterer is a amazing looking mod by the way, especially in atmosphere. Thank you for your time. : )

Link to comment
Share on other sites

Hello everyone. I'm not sure this is the right thread to post, but I have a wierd issue with EnvironmentalVisualEnhancements 7.4 and Scatterer. Are they compatible at this moment? I've seen screenshots with these mods used together, and they looked fine. Anyway, problem is odd constant shivering between clouds from EVE and atmosphere from Scattering. Looks like this http://i.imgur.com/4dMjiX5.gif. If I zoom out a bit, everything looks normal, - http://i.imgur.com/CfjuvmW.jpg - so it is depending from altitude, which is approximately about 300 km. Effect is reproducing on KSP 1.0.4 both 32-bit and 64-bit versions. Can I do some, I dunno, tweaking to fix this?

Scatterer is a amazing looking mod by the way, especially in atmosphere. Thank you for your time. : )

This is a known bug in the current version of scatterer. It'll be fixed in a soon-to-be-released version.

Link to comment
Share on other sites

Apropos of nothing in particular. Some great reference for either Scatterer or EVE.

http://www.nytimes.com/interactive/2015/07/10/science/An-Image-of-Earth-Every-Ten-Minutes.html?_r=0

I think it shows a subtle normal map on the clouds and a slight blue tint to the cloud shadows would help a ton

Edited by idPhobos
Link to comment
Share on other sites

I'm currently using this mod along with the city lights and clouds....:0.0:

it floored me when I first saw it still gets me every time you guys out there are doing some amazing work with these mods

keep it up and soon N.A.S.A will be approaching the ksp community to develop its flight Sims :D

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...