Jump to content

SMP4 - no cloud shadows


Steve2457
 Share

Recommended Posts

Hello,

Thanks for a great product. Just having one issue. Cloud shadows have disappeared. I recall them being there originally and I haven't added any other weather addons. 

If I disable smp through the plugin menu the default cloud shadows instantly show. I have tried smp reinstall. Version is latest version 4.7.3. Xplane is latest version. I did notice the last xplane update did ask to overwrite a number of files. I reinstalled smp after that. 

I have tried turning off and on the cloud shadows option in the smp menu and using different slider values 0 thru 1, pressing "apply changes" each time.

Can someone assist? Thanks.

Steve

Link to comment
Share on other sites

There are some conditions where we don't draw cloud shadows, such as if you're inside a lot of fog or haze. Turn up the slider all the way to 1, and as a test, try flying above some broken clouds (so you're above the haze) and over  a body of water. The cloud shadows tend to show up best over water.

If you don't even see them in that situation, then there's something definitely wrong.

Link to comment
Share on other sites

On 3/8/2019 at 6:24 AM, Steve2457 said:

Also discovered they are not visible if free camera is used to go to altitude with aircraft on ground. Although default cloud shadows do show when doing that. Thanks again.

Ah... looking at the code, we do base the AGL altitude used for the effect on the plane's position and not the camera's. Getting the camera's AGL is an expensive thing to do performance-wise (you have to convert the camera coordinates to world coordinates, do a terrain probe to figure out where the ground is, and subtract the two), so I think that's a compromise I made intentionally. I'll try and find some clever way around it though.

Link to comment
Share on other sites

  • 1 month later...

Well, it seems that something changed in a recent X-Plane release that prevents us from retrieving the depth buffer from X-Plane when VR is on. This means we can't properly draw shadows on the ground in VR, since we can't tell where the ground is.

We'll have to disable effects that depend on the depth buffer (mainly cloud shadows and soft cloud / terrain blending) when VR is on, unless Laminar provides us with a new way to do this. I'll send them a note in hopes that they can help.

Edited by sundog
Link to comment
Share on other sites

Happy to report that with Laminar's help, I've tracked down the issue with cloud shadows in VR. They'll work properly in our 4.8 release.

And now that the underlying problem has been addressed, everything looks really great in VR now if I may say so :)

 

Edited by sundog
  • Like 1
Link to comment
Share on other sites

  • 2 weeks later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

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.

Loading...
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...