Jump to content
Sign in to follow this  
ShezA

Night lightng with MDLs

Recommended Posts

Gurus,Am not getting night lighting to work with 3d objects MDLs developed in GMAX. What are the steps to take here with the ambient lighting?ThanksShez


Shez Ansari

Windows 11; CPU: Intel Core i7-8700K; GPU: EVGA GEFORCE GTX 1080Ti 11GB; MB: Gigabyte Z370 AORUS Gaming 5; RAM: 16GB; HD: Samsung 960 Pro 512GB SSD, Samsung 850 Pro 256GB SSD; Display: ASUS 4K 28", Asus UHD 26"

Share this post


Link to post
Share on other sites

Thanks Lou,Been trying that but it does not work. Will report back.Shez


Shez Ansari

Windows 11; CPU: Intel Core i7-8700K; GPU: EVGA GEFORCE GTX 1080Ti 11GB; MB: Gigabyte Z370 AORUS Gaming 5; RAM: 16GB; HD: Samsung 960 Pro 512GB SSD, Samsung 850 Pro 256GB SSD; Display: ASUS 4K 28", Asus UHD 26"

Share this post


Link to post
Share on other sites
Guest Firestriker

Check the _0.asm file. If you are using the FS2002 gamepack you should have a texture section that looks something like this: TEXTURE_LIST_BEGIN TEXTURE_DEF TEXTURE_AIRCRAFT , <255,255,255,255>, 1.000000, "FRONT.BMP" ; 0 TEXTURE_DEF TEXTURE2_NIGHT , <255,255,255,255>, 1.000000, "FRONT_LM.BMP" ; 1 TEXTURE_DEF TEXTURE_AIRCRAFT , <255,255,255,255>, 1.000000, "LEFT.BMP" ; 2 TEXTURE_DEF TEXTURE2_NIGHT , <255,255,255,255>, 1.000000, "LEFT_LM.BMP" ; 3 TEXTURE_DEF TEXTURE_AIRCRAFT , <255,255,255,255>, 1.000000, "REAR.BMP" ; 4 TEXTURE_DEF TEXTURE2_NIGHT , <255,255,255,255>, 1.000000, "REAR_LM.BMP" ; 5 TEXTURE_DEF TEXTURE_AIRCRAFT , <255,255,255,255>, 1.000000, "RIGHT.BMP" ; 6 TEXTURE_DEF TEXTURE2_NIGHT , <255,255,255,255>, 1.000000, "RIGHT_LM.BMP" ; 7 TEXTURE_DEF TEXTURE_AIRCRAFT , <255,255,255,255>, 1.000000, "TOP.BMP" ; 8 TEXTURE_DEF TEXTURE2_NIGHT , <255,255,255,255>, 1.000000, "TOP_LM.BMP" ; 9 TEXTURE_LIST_ENDFor the FS2004 gamepack it would look like this: TEXTURE_LIST_BEGIN TEXTURE_DEF TEXTURE_BUILDING , <255,255,255,255>, 4.314835, "FRONT.BMP" ; 0 TEXTURE_DEF TEXTURE2_NIGHT , <255,255,255,255>, 4.314835, "FRONT_LM.BMP" ; 1 TEXTURE_DEF TEXTURE_BUILDING , <255,255,255,255>, 4.314834, "LEFT.BMP" ; 2 TEXTURE_DEF TEXTURE2_NIGHT , <255,255,255,255>, 4.314834, "LEFT_LM.BMP" ; 3 TEXTURE_DEF TEXTURE_BUILDING , <255,255,255,255>, 4.314834, "REAR.BMP" ; 4 TEXTURE_DEF TEXTURE2_NIGHT , <255,255,255,255>, 4.314834, "REAR_LM.BMP" ; 5 TEXTURE_DEF TEXTURE_BUILDING , <255,255,255,255>, 4.314836, "RIGHT.BMP" ; 6 TEXTURE_DEF TEXTURE2_NIGHT , <255,255,255,255>, 4.314836, "RIGHT_LM.BMP" ; 7 TEXTURE_DEF TEXTURE_BUILDING , <255,255,255,255>, 4.314834, "TOP.BMP" ; 8 TEXTURE_DEF TEXTURE2_NIGHT , <255,255,255,255>, 4.314834, "TOP_LM.BMP" ; 9 TEXTURE_LIST_ENDIf your _0.asm file looks ok, and it is only in the sim that things are not looking correct, double check the format of the bmp files in the texture folder and make sure they are sim compliant, 8-bit, dxt1, etc and they are not 24-bit.Lou

Share this post


Link to post
Share on other sites

Thanks Lou, works now. I think I was messing up the materials somehow.Shez


Shez Ansari

Windows 11; CPU: Intel Core i7-8700K; GPU: EVGA GEFORCE GTX 1080Ti 11GB; MB: Gigabyte Z370 AORUS Gaming 5; RAM: 16GB; HD: Samsung 960 Pro 512GB SSD, Samsung 850 Pro 256GB SSD; Display: ASUS 4K 28", Asus UHD 26"

Share this post


Link to post
Share on other sites

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  

  • Tom Allensworth,
    Founder of AVSIM Online


  • Flight Simulation's Premier Resource!

    AVSIM is a free service to the flight simulation community. AVSIM is staffed completely by volunteers and all funds donated to AVSIM go directly back to supporting the community. Your donation here helps to pay our bandwidth costs, emergency funding, and other general costs that crop up from time to time. Thank you for your support!

    Click here for more information and to see all donations year to date.
×
×
  • Create New...