Docs:Viewport lighting

From Mod Wiki

(Difference between revisions)
Jump to: navigation, search
Revision as of 03:52, 11 February 2009 (edit)
Don Reba (Talk | contribs)
m (fixed category)
← Previous diff
Current revision (03:52, 11 February 2009) (edit) (undo)
Don Reba (Talk | contribs)
m (Protected "Docs:Viewport lighting" [edit=sysop:move=sysop])
 

Current revision

A scene usually looks like this in the viewport:

It is fairly difficult to understand how it all looks under in-game lighting.

However, the SDK can work with lighting similar to the game's. First, remember to set a Light on the level. Then, choose the following in Options:

  • Light Scene (mandatory)
  • Render -> Shade Mode -> Gouraud (mandatory)
  • Render -> HW Render (recommended)
  • Render -> Linear Filter (recommended)
  • Render -> Textures (recommended)
  • Real Time (recommended)

Then, in Light properties, which could be called up by pressing Enter in the corresponding mode, choose Visible. Now, in order to properly see the lighting, we recommend that you choose an outdoor light and increase the time factor in in Weather -> Properties.

In the end, it should looks somewhat like this:

The picture is similar, in essence, to R1 (static lighting) without the lightmaps. Also, detail objects and wall marks are not illuminated.

Personal tools
In other languages