Jump to content

Recommended Posts

Posted

These rays appear in the gap made by clouds below the plane. But God Ray's appear in front of the plane. 

I would like to use these rays but I have a hard time trying to avoid that they appear in front of the plane. I make cinematic clips and that is important to me.

 

smp-fb-02.jpg

Posted

This may be a draw order issue which cannot be worked around due to limitations on X-Plane. I cannot say for sure. Frank will know more.



Then again, the sun also appears higher in angle and this may not be a bug or limitation at all.
Posted (edited)

Yes, this is an algorithmic limitation of how "god rays" work. They are a screen-space effect, so they must assume some constant depth relative to the camera. It's just yet another trade-off we have to make in real-time computer graphics to get the performance we need.

By default, the rays are configured to just draw over everything in the scene. As Cameron pointed out, depending on the angle of the sun and how much atmosphere is between you and a given object, that's not necessarily wrong. 

But it is possible to adjust the depth of the rays, by editing the resources/plugins/silverlining/resources/silverlining.config file in a text editor. Look for the crepuscular-rays-depth setting. Please note that we can't provide support once you start messing around with config settings, however - be sure to save a backup of the original config file so you can restore it if things go horribly wrong.

Edited by sundog
  • Upvote 1
Posted

Thank you for your reply.

I'm on Mac and the only way I could edit the config file was to change its extension to .txt. 

Unfortunately when I saved the file and put again its extension to .config, no clouds appear in the sim.

How to edit the config file without changing its file property?

Posted
13 minutes ago, branislavmilic said:

Thank you for your reply.

I'm on Mac and the only way I could edit the config file was to change its extension to .txt. 

Unfortunately when I saved the file and put again its extension to .config, no clouds appear in the sim.

How to edit the config file without changing its file property?

I'm not really a Mac guy, so I'm not sure what might have gone wrong there. My guess is that whatever editor you used didn't really preserve the text file format. Even text files are different between Mac and PC, and this file was created on a PC.

You'd probably have to edit it on a Windows system (right click / open with... wordpad would do the job) or find a text editor app on MacOS that promises not to ruin Windows-style text files when saving them.

Join the conversation

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

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
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...
  • Recently Browsing   0 members

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