• Which the release of FS2020 we see an explosition of activity on the forun and of course we are very happy to see this. But having all questions about FS2020 in one forum becomes a bit messy. So therefore we would like to ask you all to use the following guidelines when posting your questions:

    • Tag FS2020 specific questions with the MSFS2020 tag.
    • Questions about making 3D assets can be posted in the 3D asset design forum. Either post them in the subforum of the modelling tool you use or in the general forum if they are general.
    • Questions about aircraft design can be posted in the Aircraft design forum
    • Questions about airport design can be posted in the FS2020 airport design forum. Once airport development tools have been updated for FS2020 you can post tool speciifc questions in the subforums of those tools as well of course.
    • Questions about terrain design can be posted in the FS2020 terrain design forum.
    • Questions about SimConnect can be posted in the SimConnect forum.

    Any other question that is not specific to an aspect of development or tool can be posted in the General chat forum.

    By following these guidelines we make sure that the forums remain easy to read for everybody and also that the right people can find your post to answer it.

P3Dv4 Dynamic lights problem

Messages
112
Country
poland
Hello
Some time ago I created Dynamic Lights for my scenery. It's very nice but I noticed When I arrival to the airport from other airport my dynamic light not working - If I reload the scenery in the Scenery library it works again. When I load at the airport, it works but when I arrive then dynamic does not work. What is going on? I created effects and add Dynamic Light to my model via MCX.
I attach one of my effect.
 

Attachments

  • DynamicEffect.zip
    573 bytes · Views: 393
I hope you have P3Dv4.2?
Instead of adding an xxx.fx, you add a xxx_ctrl.fx and refer to the xxx.fx in the xxx_ctrl.fx.
You may also have to have a look at the effects.cfg (more info in the SDK).
 
This is mine. I do not remember what I changed (if I changed something at all):

; These particle spite limits are applied based
; on the "Special Effect Detail" settings slider.

[Sprite Limit]
Medium=32000
High=128000
Low=16000

; These particle emit rate modifiers are applied based
; on the "Special Effect Detail" settings slider.

[Emit Rate]
Medium=0.700000
High=1.000000
Low=0.300000

; These particle Emit limits are applied based
; on the "Special Effect Detail" settings slider.
; If the emit limit is hit per frame as specified
; in the Emit Limit table then the rate it emits particles
; at is scaled by the factor specified in the modifier table.

[Emit Limit ]
Medium=2500
High=5000
Low=750

[Emit Limit Modifier]
Medium=0.300000
High=0.200000
Low=0.500000

; If an emitter has its LOD flag set and the viewpoint is
; further away than this at the time the effect is started
; then the emitter will be disabled.

[Detail]
Forced Distance=250

; The [Emitter Detail Distance] and [Emitter Detail Modifier]
; tables work together. If an emitter is further away than a
; distance specified in the distance table then the rate it
; emits particles at is scaled by the factor specified in the
; modifier table. Distances are in meters.

[Emitter Detail Distance]
Medium=5000
Far=10000
Very Far=15000

[Emitter Detail Modifier]
Medium=0.700000
Far=0.500000
Very Far=0.000000

; The [Light Detail Modifier] is used to LOD out lights that do
; not cover a specified number of pixels.
[Light Detail Modifier]
Minimum Pixel Size=15.5
 
Back
Top