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

FSX Making a part darker.

Messages
1,130
Country
australia
Just been thinking about how to mark a part get darker.

For example, an engine bay. If you open an access panel more light comes in while when it is closed the engine will be rather dark (much more so than if you were using aircraft casts shadows on itself).

Now, I know how to make a texture light up by varying amounts. Assign a VC texture to the night map texture and then create a gauge using the transparency option of the draw rectangle command to darken and brighten according to need.

But that wouldn't work when trying to darken a normal part would it? As it requires use of the emmissive night map.

So, thinking about it a bit I thought I would try using the detail texture. Add a VC texture to the detail texture name, make sure detail tiling is set to 1 and then create a gauge. 128 grey is normal and shouldn't affect the diffuse texture but if you darken the VC display it makes the diffuse texture darker.

Neat.

Plus, you can make your VC texture really small (maybe 64x64 pixels) to save memory and frames.

I won't show you an example as I only tried this out on a propeller texture so it looks rather silly really. But as a proof of concept it works.
 
We use a similar technique with cockpits, sometimes. You flip the light switch on and a different version cockpit appears, the other disappears, and this one has lighting on it, darker, lightmapped, etc. You could do this with custom L:var coding. When the door of the cowling is 90% and greater then 'closed', then hide engine one, unhide engine two.

But, in P3D V2, with realism shading, you do not need to do this. Built in Ambient Occlusion and high realism shading take care of the problem for you.
 
We use a similar technique with cockpits, sometimes. You flip the light switch on and a different version cockpit appears, the other disappears, and this one has lighting on it, darker, lightmapped, etc. You could do this with custom L:var coding. When the door of the cowling is 90% and greater then 'closed', then hide engine one, unhide engine two.

But, in P3D V2, with realism shading, you do not need to do this. Built in Ambient Occlusion and high realism shading take care of the problem for you.

I do not like the idea about making 2 cockpit versions, that would be more poly's for Gmax. 3DS might be alright. But to me i think there would be a loss in FPS.
I do like the idea about hiding engine when covers closed. That seems to me it would improve FPS.
And i totally agree with AO effects.

Do you agree 2 versions of a VC would never be worth doing?
 
Well, if the parts hide, your frame rates are not hindered. So, a separate interior is the same as that engine, except that again your frames arent bothered as only one assembly shows up at a time, not two. It is added work though, a complete set of different graphics and a light map are needed for the new VC components.

I cant say I recommend them as that is up to the person and project. If you need it, you need it. If you dont, then its up to you. The lights and lightmaps do a fine job as they are, but man, some guys make some amazing things with the variable VC's.
 
Back
Top