Presentation is loading. Please wait.

Presentation is loading. Please wait.

Building a Simple Level Adding Lighting Copyright © 2015 Curt Hill.

Similar presentations


Presentation on theme: "Building a Simple Level Adding Lighting Copyright © 2015 Curt Hill."— Presentation transcript:

1 Building a Simple Level Adding Lighting Copyright © 2015 Curt Hill

2 Previously We created, modified and saved a new level This had CSG geometry –It was textured We decorated the interior of out building with some static meshes One of these was a light –It is not yet recognized as a light source Now the lighting system needs to be fixed Copyright © 2015 Curt Hill

3 Initial Image Copyright © 2015 Curt Hill

4 Initial Commentary This is rather dimly lit at this point We can only see anything because of the light let in by the doors and portholes Can you tell what the ceiling material is? Copyright © 2015 Curt Hill

5 Actor Classes Next we go back to the Content Browser window Open up the Actor Classes Open up Lights and PointLights We should see the following: Copyright © 2015 Curt Hill

6 Actor Classes Copyright © 2015 Curt Hill

7 Light Actors These are separate from static meshes This is what the lighting system keys off of There are three basic types of light There are also variations in these –Dominant and movable Copyright © 2015 Curt Hill

8 Types of Light Point lights –Simulate a light bulb of various types –Produce a sphere of light Spot light –Produces a cone of light Directional light –Usually used for large lights like the sun –Produces a sheet of light Copyright © 2015 Curt Hill

9 Adding a Light Drag the light actor of interest into the scene We will then modify it later A light actor shows differently in the preview mode than it does when the game is played Lets see some screen shots Copyright © 2015 Curt Hill

10 After Actor is Drug Copyright © 2015 Curt Hill

11 Commentary Point light actors are represented as light bulbs It must show in preview mode –Not in game play Notice how the shadows now appear This is also the first indication that the ceiling has not been textured It has not been aligned with potential static meshes that it could emanate from Copyright © 2015 Curt Hill

12 Aligned Copyright © 2015 Curt Hill

13 Alignment The four viewport screen is particularly important here If most items are a little off it is not a problem If the shadows do not come from the correct source it will be more damaging to the realism Copyright © 2015 Curt Hill

14 Point or Points? The fixture in question has many small light points It would be better to have many smaller points This would be more work for you and the lighting system but produce better visuals However, the single light point does not look all that bad We would have to make a dozen lights much less bright –How? Copyright © 2015 Curt Hill

15 The Scene Tab The scene tab allows us to modify the light characteristics in a way similar to sizing Each actor class has different characteristics Point lights have a sphere radius –At what point can they be ignored Falloff Exponent Shadow Falloff Exponent Light Source Radius Among others Copyright © 2015 Curt Hill

16 Light Characteristics Copyright © 2015 Curt Hill

17 Now What? Time to rebuild the lighting This is done under the Build menu Next we see the perspective view after this done Copyright © 2015 Curt Hill

18 Perspective Copyright © 2015 Curt Hill

19 Perspective View We can still see the point light actor Next is the game play view Copyright © 2015 Curt Hill

20 Play Copyright © 2015 Curt Hill

21 Commentary Almost the same view Brushes and light actors are now ignored –Not the light from the actor Copyright © 2015 Curt Hill

22 Views Each window has independent controls concerning the display These are on the toolbar for the windows –Third and on We will review the initial scene with each of these Notice that all of these are in Perspective mode Copyright © 2015 Curt Hill

23 Brush Wireframe Copyright © 2015 Curt Hill

24 Wireframe Copyright © 2015 Curt Hill

25 Unlit Copyright © 2015 Curt Hill

26 Lit Copyright © 2015 Curt Hill

27 Detail Lighting Copyright © 2015 Curt Hill

28 Lighting Only Copyright © 2015 Curt Hill

29 Sphere We can see the sphere of the light in the top view –Among others –We only care about its distance in X and Y and top view shows us this best Notice in next screen –The point source –The barrel and storage tank –The building Copyright © 2015 Curt Hill

30 Top View Copyright © 2015 Curt Hill

31 Shrinking In general we do not want this sphere to be excessively large Like other properties of actors in the scene we can modify this in the scene tab Next we reduce to 750 uu Copyright © 2015 Curt Hill

32 New Top View Copyright © 2015 Curt Hill

33 Game Play Mode (Corner by light) Copyright © 2015 Curt Hill

34 Other Light Characteristics The sphere is not the only thing we can change We can change the color of the light or the brightness These are in the Scene tab and Lightmass –Brightness defaults to 1 –Light Color has a red, green and blue component Copyright © 2015 Curt Hill

35 Finally We should be able to light up our levels Do not forget to rebuild the lighting Copyright © 2015 Curt Hill


Download ppt "Building a Simple Level Adding Lighting Copyright © 2015 Curt Hill."

Similar presentations


Ads by Google