Sign in to follow this  
iamlmc

Simple Sun Mod Help

Recommended Posts

Hello!

 

I am unable to make simple sun mod run as expect inn my Prepar3D v3.2. I always have an awkward sun and lens flare effects... And none of the beautiful sun effects I have seen on videos and screenshots.

 

Luckily someone here has "cracked the code" and is willing to help. At this point I don't know what I am doing wrong... Could the RSP v1.1 be the culprit?

 

Cheers,

Luís

 

 

Share this post


Link to post
Help AVSIM continue to serve you!
Please donate today!

Hello!

 

I am unable to make simple sun mod run as expect inn my Prepar3D v3.2. I always have an awkward sun and lens flare effects... And none of the beautiful sun effects I have seen on videos and screenshots.

 

Luckily someone here has "cracked the code" and is willing to help. At this point I don't know what I am doing wrong... Could the RSP v1.1 be the culprit?

 

Cheers,

Luís

 

Hi Louis,

 

i have the simple sun mod and it looks as expeczed. I dont use the RSP but using reshade. So did you delete the shader cache of P3D? Further could you post so,e screenies of your problem.?

Share this post


Link to post

Hi Louis,

 

i have the simple sun mod and it looks as expeczed. I dont use the RSP but using reshade. So did you delete the shader cache of P3D? Further could you post so,e screenies of your problem.?

 

Glad you replied Mickeyj... Your QualityWings Simulations BAe 146 video showing the sun simple mod was one of the motives that made me try this mod (been using REX effects for ever). I am using RSP and Shade... Maybe I am not configuring the cameras right? I am also using EZCA, I will post some screenshots ASAP.

Share this post


Link to post

I would do these steps first.

 

Leave all the custom shader mods.

 

Clear the shader cache (go to C:\Users\<YOU>\AppData\Local\Lockheed Martin\Prepar3D v23\Shaders) delete that folder, it will be rebuild when P3D start the next time.

 

Install the sunmod. Put the textures into the main texture folder and the suneffect.cfg into C:\ProgramData\Lockheed Martin\Prepar3D v3 back up the original file.

 

start P3D.

 

see what happens

Share this post


Link to post

I would do these steps first.

 

Leave all the custom shader mods.

 

Clear the shader cache (go to C:\Users\<YOU>\AppData\Local\Lockheed Martin\Prepar3D v23\Shaders) delete that folder, it will be rebuild when P3D start the next time.

 

Install the sunmod. Put the textures into the main texture folder and the suneffect.cfg into C:\ProgramData\Lockheed Martin\Prepar3D v3 back up the original file.

 

start P3D.

 

see what happens

 

I have religiously followed all of your suggestions including restoring the backup from RSP, the backup from shade, cleared the cache and reinstalled simple sun mod... Unfortunately I got the exact same result. This time I don't even tried to set the effect on the VC, only exterior.

 

Please check:

 

With Shade + RSP + Sky textures mod

 

2jsh6x.jpg

 

Shade and RSP deactivated + default Sky textures (only mod is REX clouds and sun simple mod of course)

 

25frqkz.jpg

Share this post


Link to post

Hi Luis,

 

i checked the screenies. But what exactly is it that you missing and what you find awkward? To me it seems that HDR and the lensflare effect are disabled. Now what you can check as well is the REX4 texture installation configuration. Be sure that "Sun/Effect" is deselected otherwise the simple sun mod textures will be overriden everytime you make changes with REX4.

 

If you want to see/have the lensflare effect in the cockpit you have to enable that inside camera.cfg. The camera.cfg is located int he same folder as the prepar3d.cfg. In the camera definition of the virtual cockpit you must se the "ShowLensflare" from false to true.

 

I will post some screenies too.

Share this post


Link to post

I played araound a bit and i noticed that when i switched off the HDR the lensflare was gone for some reason. I got it back when i reinstalled it. In addition to the main texture folder i put the sun mod files in to the scenery\world\texture folder. I know theses files dont belong there but after that the lensflare was back. Maybe P3D screws things up.

Share this post


Link to post

Hi Luis,

 

i checked the screenies. But what exactly is it that you missing and what you find awkward? To me it seems that HDR and the lensflare effect are disabled. Now what you can check as well is the REX4 texture installation configuration. Be sure that "Sun/Effect" is deselected otherwise the simple sun mod textures will be overriden everytime you make changes with REX4.

 

If you want to see/have the lensflare effect in the cockpit you have to enable that inside camera.cfg. The camera.cfg is located int he same folder as the prepar3d.cfg. In the camera definition of the virtual cockpit you must se the "ShowLensflare" from false to true.

 

I will post some screenies too.

 

But they are enabled! Since my last install REX is only doing clouds... Nothing more.

 

Regarding the cockpit camera.cfg are you editing 

 

[CameraDefinition.201]

Title = EZCA VC cam

 

and

 

[CameraDefinition.001]

Title = Cockpit

 

To have the desired effects outside the cockpit (exterior views using EZCA cams) do you also need to modify

 

[CameraDefinition.202]

Title= EZCA World cam

 

and

 

[CameraDefinition.203]

Title= EZCA Aircraft cam

 

 

 

Is lensflare enabled in P3D ?

 

Please check the provided pic.

 

I played araound a bit and i noticed that when i switched off the HDR the lensflare was gone for some reason. I got it back when i reinstalled it. In addition to the main texture folder i put the sun mod files in to the scenery\world\texture folder. I know theses files dont belong there but after that the lensflare was back. Maybe P3D screws things up.

 

Good to know... will try the mod with that as well.

 

My Lighting Settings:

 

11lps8w.jpg

Share this post


Link to post

Hi,

 

yes you have to edit/add the command ShowLensflare=true in all cam definitions where you want to see the lensflare. As your sun looks as intended you might miss the ShowLensflare command.

Share this post


Link to post

No joy! :sad: The representation of the sun is always awkward, showing several circular layers and always without the lens flare effect.

 

I will be uploading a video showing the undesired results.

Share this post


Link to post

Do you have the original shaders that has been backed up by RSP? For me it looks like a shader problem. Try to restore them. Oh did you try REX4 sun testures and effects? I suggest you try it out.

Share this post


Link to post

Do you have the original shaders that has been backed up by RSP? For me it looks like a shader problem. Try to restore them. Oh did you try REX4 sun testures and effects? I suggest you try it out.

 

Yes I have all the backups... RSP and Shade. I have done the test without any mod and with the default files (backed up by RSP and Shade). The results are always the same no matter what. The following video can confirm the previous photos. As you can see the sun as nothing to do with the desirable look and there is no lens flare effect at all.

 

https://drive.google.com/open?id=0Bxru_hUFUsxeYVVuZFVjeUNqQWM

 

Didn't tried REX Sun mods yet cuz I was going to give sun simple mod a shot... BTW I come from a fresh clean Prepar3D install... From all of my add-ons only have a few installed... Just using FTX Global + FTX LC EU & NA+ FTX Vector + FTX Trees + PercipitFX + Pilots 2010 Mesh + RSP + Shade + REX + ASN + EZCA + Mytraffic v6.0a + Ships ai. My Prepar3D.cfg has zero user made tweaks.

Share this post


Link to post

This is becoming quite a traumatic experience lol... I tried default sun, REX sun and simple mod sun and was unable to have lens flare with the default F22 no matter what (both interior and exterior).

 

Default F22 video: https://drive.google.com/open?id=0Bxru_hUFUsxeNlZuSFZHRHFTSTg

 

Tried the Rex Sun with another aircraft (A320) and was able to have lens flare inside the cockpit. Was unable to have the effect with exterior views though.

 

Here is my edited cameras.cfg file. Am I doing it right?

[CameraDefinition.201]
Title = EZCA VC cam
Guid = {67CFDFFC-E78E-4445-B317-36A6888AECA8}
Description = This is the description of the virtual cockpit view.
Origin = Virtual Cockpit
MomentumEffect =No
SnapPbhAdjust = Swivel
SnapPbhReturn = False
PanPbhAdjust = Swivel
PanPbhReturn = False
Track = None
ShowAxis = YES
AllowZoom = TRUE
InitialZoom = 0.30
SmoothZoomTime = 3.0
ZoomPanScalar = 1.0
ShowWeather = Yes
XyzAdjust = TRUE
ShowLensFlare=TRUE
Category = Cockpit
PitchPanRate=30
HeadingPanRate=75
PanAcceleratorTime=0
HotKeySelect=1
cyclehidden=Yes
Clipmode=minimum

[CameraDefinition.202]
Title= EZCA World cam
Guid={910DD22E-0B8F-434B-85F4-837FAC80F287}
Description=EZdok universal world camera
Origin=Fixed
SnapPbhAdjust=Swivel
SnapPbhReturn=False
PanPbhAdjust=Swivel
PanPbhReturn=False
Track=none
ShowAxis=No
AllowZoom=Yes
InitialZoom=1
SmoothZoomTime=1
ShowWeather=Yes
XyzAdjust=True
Transition=No
ShowLensFlare=TRUE
Category=Custom
Clipmode=minimum
PitchPanRate=30
HeadingPanRate=75
PanAcceleratorTime=0
HotKeySelect=5
cyclehidden=Yes
FixedLongitude=37.910548752051
FixedLatitude=55.4228687612085
FixedAltitude=3000




[CameraDefinition.203]
Title= EZCA Aircraft cam
Guid={9975B7A2-68A4-4F72-9203-788AB1A63B7A}
Description=Universal camera for EZdok cam utility
Origin=Center
SnapPbhAdjust=Swivel
SnapPbhReturn=FALSE
PanPbhAdjust=Swivel
PanPbhReturn=FALSE
Track=None
ShowAxis=FALSE
AllowZoom=TRUE
InitialZoom=0.40
ShowWeather=Yes
InitialXyz=0,0,0
InitialPbh=10, 0, 0
XyzAdjust=TRUE
Category=Aircraft
MomentumEffect=FALSE
ClipMode=Minimum
HotKeySelect=4
cyclehidden=Yes
ShowLensFlare=TRUE

[CameraDefinition.001]
Title = Cockpit
Guid = {B1386D92-4782-4682-A137-738E25D1BAB5}
Description = This is the description of the cockpit view
Origin = Cockpit
ShowPanel = Yes
SnapPbhAdjust = Ordinal
SnapPbhReturn = True
PanPbhAdjust = Ordinal
PanPbhReturn = True
Track = None
ShowAxis = FrontOnly
AllowZoom = TRUE
InitialZoom = 1.0
SmoothZoomTime = 2.0
ShowWeather = Yes
XyzAdjust = TRUE
ShowLensFlare=FALSE
Category = Cockpit
HotKeySelect=2
ShowLensFlare=TRUE
ClipMode=Minimum

[CameraDefinition.003]
Title = Spot
Guid = {BCA3FDD1-FB83-4BBA-8407-4922A7F0D00C}
Description = This is the description of the spot view.
Origin = Center
SnapPbhAdjust = Ordinal
SnapPbhReturn = False
PanPbhAdjust = Swivel
PanPbhReturn = False
Track = FlatChase
ShowAxis = No
AllowZoom = Yes
InitialZoom = 1.0
SmoothZoomTime = 2.0
ShowWeather = Yes
XyzAdjust = FALSE
Transition = Yes
ShowLensFlare=TRUE
Category = Outside
ClipMode=Minimum
PitchPanRate=30
HeadingPanRate=75
PanAcceleratorTime=0

[CameraDefinition.004]
Title = Locked Spot
Guid = {BCA3FDD1-FB83-4BBA-8407-4922A7F0D00D}
Description = This is the description of the spot view.
Origin = Center
SnapPbhAdjust = Swivel
SnapPbhReturn = False
PanPbhAdjust = Swivel
PanPbhReturn = False
Track = FlatChaseLocked
ShowAxis = No
AllowZoom = Yes
InitialZoom = 1.0
SmoothZoomTime = 2.0
ShowWeather = Yes
XyzAdjust = FALSE
Transition = Yes
ShowLensFlare=TRUE
Category = Outside
ClipMode=Minimum
PitchPanRate=30
HeadingPanRate=75
PanAcceleratorTime=0
HotKeySelect=3

After installing REX sun I installed simple sun mod over it and it worked, no more weird rendering of the sun. But only have lens flare inside cockpit and was never able to reproduce that raibow effect simple sun mod have !?!?! Check the following videos.

 

Cockpit view

https://drive.google.com/open?id=0Bxru_hUFUsxeeVpndzNCdGhZQzQ

 

Exterior view:

https://drive.google.com/open?id=0Bxru_hUFUsxeV3puZVAzSWd2c00

 

Thanks for all the help so far,

Luís

Share this post


Link to post

After installing REX sun I installed simple sun mod over it and it worked, no more weird rendering of the sun. But only have lens flare inside cockpit and was never able to reproduce that raibow effect simple sun mod have !?!?! Check the following videos.

 

 

Glad you sorted all out and it is working. I think something screwed up in the shaders in the first place. I had the weired effect too when i switched off the HDR but couldnt reproduce it after it worked again. I also tried your Simstarter settings as well as the RSP 1.1. I use the RSP 1.1 together with Reshade and i have to say it comes real close to real.

 

Share this post


Link to post

Glad you sorted all out and it is working. I think something screwed up in the shaders in the first place. I had the weired effect too when i switched off the HDR but couldnt reproduce it after it worked again. I also tried your Simstarter settings as well as the RSP 1.1. I use the RSP 1.1 together with Reshade and i have to say it comes real close to real.

 

 

Well I have sorted the irradiating sun but not so sure about lens flare... First, I'm unable to get lens flare to work in exterior views and secondly the lens flare I have seems quite different from yours (e.g not seeing the rainbow effect). Maybe it's using REX lens flare effect??

 

BTW can you share your master effects file. I have tried using Reshade some of time ago but was unable to create a credible configuration to use with Prepar3D.

 

Thanks,

Luís

Share this post


Link to post

No luck!!!

 

I am unable to get simple sun mod to work. The sun textures are working but the lens flare is not working in all default or payware aircraft (A2A Piper Comanche, Aerosoft Twin Otter Extended and Majestic Q400 Pro) only exception is all of the Aerosoft Buses A3xx. But I am only getting the lens flare from the buses cockpits, the effect it´s not working in exterior views.

 

And the lens flare I'm getting is from REX not simple sun mod... Go figure???

 

Tried your Master Effect configuration... With my settings and monitor it is quite subtle on the color section and it did darkened Prepar3D world and cockpits a bit. Thanks for sharing for sharing it!

 

I am also having a weird problem with antennas and chimneys that I am unable to fix, check http://www.prepar3d.com/forum/viewtopic.php?f=6312&t=119343, I will be AFK for the next couple of days and when I return I think I am going to format my OS and start all over again LoL

Share this post


Link to post

Kindly do me a favour, go copy the sun mod texture files to the texture folder scenery\world\texture. Give it a go and kindly give me a feedback. Also check that HDR is enabled. I lost the lensflare when i switched off HDR. I needed to reinstall the sun mod and in addition to that i copied the texture files into the scenery\world\texture after that i got the lensflare back. Strange but it worked.  Btw did you copy the sun mod suneffect.cfg to the folder where the scenery.cfg located is?

Share this post


Link to post

Kindly do me a favour, go copy the sun mod texture files to the texture folder scenery\world\texture. Give it a go and kindly give me a feedback. Also check that HDR is enabled. I lost the lensflare when i switched off HDR. I needed to reinstall the sun mod and in addition to that i copied the texture files into the scenery\world\texture after that i got the lensflare back. Strange but it worked.  Btw did you copy the sun mod suneffect.cfg to the folder where the scenery.cfg located is?

 

I finally figure it out!!! :drinks: The Majestic Q400 Pro and A2A Piper Comanche were a bit more tricky but everything is now working as it should. I even modded the simple sun mod a bit replacing one of the textures because I didn't liked the effect on Prepar3D v3.2 with HDR on.

 

If someone is having a hard time making this great mod work with your P3D just ask for help and I will be more than happy do support your cause. lol :hi:

Share this post


Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this