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

20 hours ago, blackrack said:

No it's fine, I already use blitting in the ocean and the custom depth buffer. It's fine really the blit operation in itself isn't expensive. This blog looks like a good read btw.

I will see what I can do. I feel that a lot of people here highly overestimate my abilities though :P

 

Edited:

I have a new experimental version I'd like you guys to test. It includes

-Improved EVE integration, new cloud shaders appear to be working well for me now with SVE ( @Galileo please check if you still have issues on your side)

-Ring shadows (new kopernicus ring shader isn't released yet but you should now be able to see ring shadows on the scatterer atmosphere even with the old ring shader)

-Removed ocean and postprocessing effects from Texture Replacer's reflections (they looked messed up)

-Fixed OpenGL on windows

-Fixed ocean reflections and whitecaps

 

Link: https://mega.nz/#!DNhFQRob!r-A6X2ziBsH9Q1H5ldbYtoNaO0p1XoP8gFM9aTtDzfs (also added in the OP)

I'm about to test your new experimental version.  I somehow missed it being posted earlier

Link to comment
Share on other sites

OK after a quick test,, mostly good things, but i noticed a few eye sores.. I was using the default scatterer cfgs and settings along side SVE clouds.

http://imgur.com/a/AzPaf

As you can see, the terminator has a very hard transition from scaled space and on the surface. Also, the auroras on the dark side also fail to be illuminated.

The Kopernicus ring shadows also do not seem to be taking effect. 

Eve is also looking a little under the weather :)

 I hope this helps. Everything is coming along very nicely!

Edited by Galileo
Link to comment
Share on other sites

22 minutes ago, Galileo said:

OK after a quick test,, mostly good things, but i noticed a few eye sores.. I was using the default scatterer cfgs and settings along side SVE clouds.

http://imgur.com/a/AzPaf

As you can see, the terminator has a very hard transition from scaled space and on the surface. Also, the auroras on the dark side also fail to be illuminated.

The Kopernicus ring shadows also do not seem to be taking effect. 

 I hope this helps. Everything is coming along very nicely!

Can you send me your output log? Is the option for Kopernicus ring shadows enabled? Are those rings on Jool? Do they have any inclination at all? If they're perfectly parallel to Jool's orbital plane you will see at best a straight line shadow on the equator or just a bunch of aliasing dots (it's quite unfortunate imo that almost everything stock has zero inclination, although it makes sense for accessibility reasons)

Edited by blackrack
Link to comment
Share on other sites

5 minutes ago, blackrack said:

Can you send me your output log? Is the option for Kopernicus ring shadows enabled? Are those rings on Jool? Do they have any inclination at all? If they're perfectly parallel to Jool's orbital plane you will see at best a straight line shadow on the horizon.

yep here you go
https://www.dropbox.com/s/9tbhp4mz2z8cqlg/output_log.txt?dl=0

yeah i had the ring option enabled. There was a 1.3 degree inclination on the rings that were indeed on jool

Link to comment
Share on other sites

1 hour ago, Galileo said:

yep here you go
https://www.dropbox.com/s/9tbhp4mz2z8cqlg/output_log.txt?dl=0

yeah i had the ring option enabled. There was a 1.3 degree inclination on the rings that were indeed on jool

Oh I just checked the log and realized I missed something. I will make another version soon.

Edited:

@Galileo try this for the ring shadow: https://mega.nz/#!XFYiVKra!5kqG-oNjpnh3npgZ423uQAi4mey6S1wrzlzIx4HKmyI

Oh, and about auroras, so currently in scatterer they show up only the lit side correct? In EVE do they show up on both sides or only on the dark side? Also, assuming they show up only on the lit side would it be better if they showed up at the dark side only?

Edited by blackrack
Link to comment
Share on other sites

11 hours ago, blackrack said:

Oh I just checked the log and realized I missed something. I will make another version soon.

Edited:

@Galileo try this for the ring shadow: https://mega.nz/#!XFYiVKra!5kqG-oNjpnh3npgZ423uQAi4mey6S1wrzlzIx4HKmyI

Oh, and about auroras, so currently in scatterer they show up only the lit side correct? In EVE do they show up on both sides or only on the dark side? Also, assuming they show up only on the lit side would it be better if they showed up at the dark side only?

Didn't realize you edited this post 

Yes if the could only show up on the dark side that would be amazing. I will check this in a little bit

 

Edit: rings still aren't being shaded with the new dll

New output log: https://www.dropbox.com/s/9tbhp4mz2z8cqlg/output_log.txt?dl=0

and a pic:

 VuhI7Bb.png

Edited by Galileo
Link to comment
Share on other sites

9 hours ago, Galileo said:

Didn't realize you edited this post 

Yes if the could only show up on the dark side that would be amazing. I will check this in a little bit

 

Edit: rings still aren't being shaded with the new dll

New output log: https://www.dropbox.com/s/9tbhp4mz2z8cqlg/output_log.txt?dl=0

and a pic:

 VuhI7Bb.png

Looking at the log it looks like everything should have worked this time. I'm thinking maybe the shadows are rendering under the clouds and are totally covered. Or something else is wrong, I will check this when I get home.

Link to comment
Share on other sites

38 minutes ago, blackrack said:

Looking at the log it looks like everything should have worked this time. I'm thinking maybe the shadows are rendering under the clouds and are totally covered. Or something else is wrong, I will check this when I get home.

If that were the case, wouldn't the shadow from the planet still appear on the ring itself? 

Link to comment
Share on other sites

4 hours ago, rextable said:

If that were the case, wouldn't the shadow from the planet still appear on the ring itself? 

No, that is part of the kopernicus ring shader (still unreleased), what you should see with scatterer is the ring shadow on the planet and not the opposite, I should've made it clear.

Edited:

Seems to work with the default ring shader.

9zeHGNA.jpg

 

I haven't tried with clouds yet though.

But while we're at it, why don't you guys try my modified Kopernicus with the ring shader as well:

Modified scatterer with ring shadows (recompiled to be sure): https://mega.nz/#!nMAzGDDY!kzcS9D3ek_MWmni5IKyTmVLdmrMgW8RmyO6morb7UGk

Modified Kopernicus with ring shader and planet shadow on ring: https://mega.nz/#!3VRwTApR!Yq77_1nhHSXY1LA1n06V8YQgQfmc15q3LTejXdlFPXs

 

Known issues:

-Planet shadow on ring will be coming from the wrong direction if you are looking at it in track station or in mapview when your ship is orbiting a far away planet. You'll need a ship orbiting said planet with rings to be sure, this will be fixed.

-Rings and ring shadows may show some aliasing.

-Ring shading may look very bland if rings are more or less coplanar with sun direction

 

Also, remember to disable the unlit option in kopernicus.


Pinging @Galileo

 

Edited by blackrack
Link to comment
Share on other sites

3 minutes ago, Galileo said:

Was disabling the unlit option required before? Because mine was definitely enabled 

It wasn't, it's only required for the ring shader. But yeah, go ahead and try this version, and if it still doesn't work try without clouds on Jool or try with SSRSS saturn since it works for me.

Link to comment
Share on other sites

11 minutes ago, blackrack said:

It wasn't, it's only required for the ring shader. But yeah, go ahead and try this version, and if it still doesn't work try without clouds on Jool or try with SSRSS saturn since it works for me.

Okay cool. When I get home from class I'll try this right away

Link to comment
Share on other sites

33 minutes ago, blackrack said:

It's funny how many of us continuously check this forum from work/class.

Half of my mods were made in class.  

I'm in an art school so my professors have been pretty supportive of all of it. There are actually 2 of them that are on the forums quite often and play with my mods. They always have a screenshot they want to show me. 

That makes it sound like the education I'm getting is awful.. lol 

Edited by Galileo
Link to comment
Share on other sites

43 minutes ago, Galileo said:

Half of my mods were made in class.  

I'm in an art school so my professors have been pretty supportive of all of it. There are actually 2 of them that are on the forums quite often and play with my mods. They always have a screenshot they want to show me. 

That makes it sound like the education I'm getting is awful.. lol 

That's the kind of education I wish I got in school...

Link to comment
Share on other sites

11 hours ago, blackrack said:

Modified scatterer with ring shadows (recompiled to be sure): https://mega.nz/#!nMAzGDDY!kzcS9D3ek_MWmni5IKyTmVLdmrMgW8RmyO6morb7UGk

Modified Kopernicus with ring shader and planet shadow on ring: https://mega.nz/#!3VRwTApR!Yq77_1nhHSXY1LA1n06V8YQgQfmc15q3LTejXdlFPXs

It seems like the "Modified scatterer with ring shadows (recompiled to be sure)" release is not good, because it disables scatterer for the whole Kerbol system.

The provided planetsList.cfg in this release is featuring such strange planets like "Earth", "Mars", or "Jupiter", which I never heard of here on Kerbin...

 

 

Link to comment
Share on other sites

15 minutes ago, Tekener said:

It seems like the "Modified scatterer with ring shadows (recompiled to be sure)" release is not good, because it disables scatterer for the whole Kerbol system.

The provided planetsList.cfg in this release is featuring such strange planets like "Earth", "Mars", or "Jupiter", which I never heard of here on Kerbin...

 

 

Just use the dll.  He has been developing the shaders with ssrss that's why you see the real solar system. 

Edited by Galileo
Link to comment
Share on other sites

18 minutes ago, Galileo said:

Just use the dll.  He has been developing the shaders with ssrss that's why you see the real solar system. 

Yes, already replaced the dll and the shaders only. :)

Another question: how do I activate the feature blackrack showed early November to have clouds shine/glow orange/red in the dusk/dawn? Did I missed some sort of settings or is this feature not active yet?

Edited by Tekener
Link to comment
Share on other sites

1 hour ago, Tekener said:

Yes, already replaced the dll and the shaders only. :)

Another question: how do I activate the feature blackrack showed early November to have clouds shine/glow orange/red in the dusk/dawn? Did I missed some sort of settings or is this feature not active yet?

It only works with default EVE so if you are using SVE it won't work, but the experimental scatterer,  probably a dozen pages back or so,  is what you are looking for 

Edited by Galileo
Link to comment
Share on other sites

4 hours ago, Tekener said:

Yes, already replaced the dll and the shaders only. :)

Another question: how do I activate the feature blackrack showed early November to have clouds shine/glow orange/red in the dusk/dawn? Did I missed some sort of settings or is this feature not active yet?

The one I posted above will work, however copy thr configs from the other experimental build, I didn't realize I left the ssrss configs in there. You also need to put settings for cloud color multiplier, extinction multiplier and scattering multiplier, copy them from the previous experimental version.

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...