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

P3D v1 Shadow Maps?

Messages
10,163
Country
us-arizona
Hey all,

Has anyone successfully made shadow maps before in Max?

This is not AO maps, but actual shadow maps, of like an Instrument Panel with all the switches and knobbies casting a shadow downwards.


I have been trying for 2 days to make one, and have not figured it out yet. Trying one presently with 'sunlight' and its taking forever to burn. sigh....

There must be a way to do this. There is a 'shadow map' in the rendering window (zero key selection/control panel for rendering to textures, baking).
 
Y E S ! Bill, you wonder how ? Look, people always want to see result straight in the render window, but it is not always happening like that. :D
So if Im correct there is no other way how to do it if your geometry has a texture on. Just check your output path "...in the rendering window (zero key selection/control panel for rendering to textures, baking)..." there is a surprise for you Im sure.
xli4hk.jpg
 
Last edited:
Hey FSFox,

Roger that, and it is possible, the do exist. I had wondered this.

I found in Max that it does have a slot for Shadow Maps, right in the same section as AO Maps.

I worked yesterday and most of the day before on this, trying to get shadows to work right. The issue is having FSX materials interacting with a light, so that had to work correctly.

I finally got things to work right with a 512x size low setting run, so I went for the high end, high quality version, 2048x with half settings on the top left two sliders in the render panel settings panel (basic version settings under the 'previously burned' window). It took nearly 4 hours to render, LOLOLOLOLOL.... Sweat was shooting out of my forehead... 11PM it finished. Crazy.... I can lower settings, but I get grainy-ness.


This is what I got. Mind you, this is the texture, and is a layer for use as like a AO map, used with Multiply, but its so dark, I just end up colorizing it, and using it as the texture. I guess I'll have to use a scuffed up top surface to show roughness via Multiply, doing things backwards, and hope I don't lose the shadow qualities.

The part I hate is that the shadows do not flow dowards, but off to the left and right, like yours also are doing. That's not right. It should be coming down from the sun. I tried the Sunlight system, but it was too bright, even with lowering the exposure setting. This is a mr 'something' system and it finally worked with what I was doing, aside from the left/right overspill or flow.
 

Attachments

  • Shadowmap1.JPG
    Shadowmap1.JPG
    39.7 KB · Views: 500
  • shadowsettings2.JPG
    shadowsettings2.JPG
    233 KB · Views: 453
You are correct, That left n right shadow is caused by two omni lights that I set up just for example sake.
Personally I would not use sun at all otherwise that shadow going to be static at all times. Therefore daytime ambient occurrence only and for night I use omni lights only to get the shadow effect from multiple sources of light. Or in my case it is Vray light where you can set alike plane (not flying one) illumination effect.

Sunlight too bright even lowering Exposure.. Right its mental ray.


do you use like this below.. If not then try..

Creation panel > Systems tab>
Daylight { hit [ok] if notification window appear} >
Create sun in viewport ( looks like compass on the ground) >

In daylight parameters :
Sunlight = Mr.Sun
Skylight = Mr.Sky
Set manual control so you are able to move sun around >

Render. No ? Adjust Sun multiplier, adjust Shadow softness...

No exposure needs to be touched in max... Other thing is Photoshop but that is not my profession..
s46fkl.jpg
 
Thanks FSFox. Burning another. I lowered it to 1024 and duplicated your sliders. Its running faster. About half done now, already.

My burns are coming from the render panel via hitting the zero key, the layer render control panel pops up. This is for adding layers to textures. (just to make sure we are on the same page).

I am hoping this works. I will really be happy. If it works, I will have to do the dance on my desk, the happy dance of VICTORY! :D
 
Yea.. Just take it easy.. BTW F9 and "0" renders are the same shugar, just different way, different image..
 
Thanks FSFox.

This is much better. I like it, and it didn't take 4 hours to render.

I moved the sun farther up for more shadow and re-rendering.


This is what I have so far.
 

Attachments

  • Panel2.JPG
    Panel2.JPG
    48.5 KB · Views: 397
I got ya. This way you actually simulating that some light is still coming through the windows anyway.. They are not sharp ish shadows caused by direct sun but stable along with ambient occlusion in overcast weather. Sharps and dynamics are down to FSX...
 
Roger that.

Thanks for the help, FSFox.

I was just thinking, I could colorize this layer, then use the AO as a Multiply layer, maybe super lighten it and then stack it 2X. That might look brilliant.
 
I think it is.. Thanks for an Idea Bill..
will use it for my future projects.. I simply stick in to my head that sun may cause a problem for day texturing..and I was "patriot" of ambient only.. lol..well..

Edd
 
Back
Top