Jump to content
Sign In to follow this  
Gn_leugim

Lighting Tutorial for Gmax

16 posts in this topic Last Reply

Highlighted Posts

Posted:
Last Online:  
 

Hello everybody =)

I've take some time in making this kind of tutorial, because I see a lot of people with some issues about lights.. so, after reading this I hope they can improve somehow.. 2.gif

Lets get started.. first we need a model to light up.. here is what we gonna use on this tutorial.

tut1.jpg

you should know hot to make something like this.. no, way better than this.. I made this in 2 minutes for the tutorial only, as I hadn't any model being done at this time 48.gif

As you can see, we have a box, with two floors and four windows.. the tow from the left side have frames, but the right ones don't.. why? well,

 Step number one on lightning is how you texture your windows!!

for the left windows, we are gonna use a transparent glass texture.. like this:

tut2.jpg

after applied  we should get something like this:

tut3.jpg

How will the others be textured?

with a special texture.. both transparent and opaque.. like this:

tut4.jpg

as you can see on the material navigator, we have for the new material navigator two different maps, a diffuse colour and a opacity map.. this last map will tell where you will see the texture, where you will not see, and where you sill see it, while able to see through it, in this order, where the map is white, black and grey.. the final result can be seen at the viewport 4.gif

after both textures are applied lets see how it looks..

tut5.jpg

both windows are a bit dark.. that's because the background can be seen through, so we have to change that too 2.gif

we will do that by creating two rectangles (the same number of floors) and extrude them by 0,0m.. so we get flat planes which we put on the beginning   of each floor like this:

tut6.jpg

 

now let's do a preview:

tut7.jpg

Don't know what was better.. the dark or the pink 28.gif

2 step is to texture right the floors!!

so we are going to select the pink planes and texture them.. with what? well, the best textures are more yellow, but also have all kind of colours on it.. shall have shapes on it too. having things that you should see on the building you are making is also good.

this is the one I'm using:

tut8.jpg

so, when you do a new preview again we should get this:

tut9.jpg

now they are much better 2.gif now it looks like the house has life 4.gif

Final step on lightning is the actual lights!

now we are going to compare the standard night maps used by many with the method we are using from the beginning.

first select both glass planes and change them names to: nite_window or something alike.. this will enable the night maps to these planes. after this, create a omni light, and add some colour to it, I usually make them like this:

tut10.jpg

and change its name to nitelite_1 for instance. copy it as much times as much windows you want to light up. place them centred with the window and put them ~1,5m away from them, next to the ceiling. through trial and error you will be able to adjust the multiplier to best results, and then you should get something like this 4.gif

tut11.jpg

As you can see, there are some differences.. My method is more alive 2.gif

and for now is everything 2.gif hope I was useful 4.gif

any questions are welcome =)

  • Like 2

Share this post


Link to post
Share on other sites
Posted:
Last Online:  
 

Great tutorial. It will definitely be useful to new BATters, as Swat mentioned. Do you plan on putting up a tutorial for illuminating the outside of a building, like a deck/roofdeck etc?

Share this post


Link to post
Share on other sites
Posted:
Last Online:  
 

Nice tutorial and of great use. Where did you get the two maps from?

Share this post


Link to post
Share on other sites
  • Original Poster
  • Posted:
    Last Online:  
     

    well, the window map you can take it from multiple sources.. cgtextures, Real life photos, images at web.. be creative 2.gif the opacity map was made by me on photoshop.. just pick up the window map, new layer, and fill as you think it should.. where you can see 100% through it you make it black, where you have frames or other objects white.. grey for the middle 2.gif

    look at the attached pics 2.gif

    post-232470-12985103149007_thumb.jpg

    post-232470-12985103150391_thumb.jpg

    • Like 1

    Share this post


    Link to post
    Share on other sites
    Posted:
    Last Online:  
     

    OK  thanks, I'll give that a go. 44.gif

    Edit. I take it that we are ok to use your examples?

    Share this post


    Link to post
    Share on other sites
    Posted:
    Last Online:  
     

    Ok thanks.

    Sorry to be a pain but how do I apply 2 maps to one surface.?? I can only get one texture applied.

    Thanks

    Mike

    Share this post


    Link to post
    Share on other sites
  • Original Poster
  • Posted:
    Last Online:  
     

    you are no pain ^^

    well.. to apply both maps, you have to open the material editor (the red globe) and on the bottom you have the several maps you may add to the material.. one of them is the opacity map 2.gif or, double click on the material navigator on the material (sphere with the material) to open the material editor with that material already loaded 2.gif

    • Like 1

    Share this post


    Link to post
    Share on other sites
    Posted:
    Last Online:  
     

    Great tutorial Gn_leugim! This is just what I needed 4.gif

    Share this post


    Link to post
    Share on other sites
    Posted:
    Last Online:  
     

    Sorry still having trouble with this. Can you attach you model as an example please?

    Thanks for your patience.

    Mike

    Share this post


    Link to post
    Share on other sites
  • Original Poster
  • Posted:
    Last Online:  
     

    unfortunately  that's not possible because I don't have it anymore ^^

    but I'll leave here step by step how to do it 2.gif

    First open gmax..

    tut12.jpg

    Then Click on the Material navigator button as shown in the picture. then open the material editor for the material you want to apply the second map to. Open the Maps tab.

    tut13.jpg

    Find the Opacity map, enable it and open the map. Ask for a new bitmap.

    tut14.jpg

    Find and open the new bitmap you want to apply.. and you are done 4.gif

    hope I can help now =)

    • Like 1

    Share this post


    Link to post
    Share on other sites
    Posted:
    Last Online:  
     

    Ahh... Thank you my friend much appreciated.  You have been a big help.

    gnlights.jpg

    Share this post


    Link to post
    Share on other sites

    Sign In or register to comment...

    To comment in reply, you must be a community member

    Sign In  

    Already have an account? Sign in here.

    Sign In Now

    Create an Account  

    Sign up to join our friendly community. It's easy!  

    Register a New Account

    Sign In to follow this  

    • Recently Browsing   0 members

      No registered users viewing this page.

    ×

    Thank You for the Continued Support!

    Simtropolis depends on donations to fund site maintenance costs.
    Without your support, we just would not be in our 24th year online!  You really help make this a great community. *:thumb:

    But we still need your support to stay online. If you're able to, please consider a donation to help us stay up and running. This helps sustain a platform where we can share our community creations for years to come.

    Make a Donation, Get a Gift!

    Expand your city with the best from the Simtropolis Exchange.
    Make a Donation and get one or all three discs today!

    STEX Collections

    By way of a "Thank You" gift, we'd like to send you our STEX Collector's DVD. It's some of the best buildings, lots, maps and mods collected for you over the years. Check out the STEX Collections for more info.

    Each donation helps keep Simtropolis online, open and free!

    Thank you for reading and enjoy the site!

    More About STEX Collections