Revision as of 03:49, 11 February 2009 (edit) Don Reba (Talk | contribs) ← Previous diff |
Current revision (03:49, 11 February 2009) (edit) (undo) Don Reba (Talk | contribs) |
Line 1: |
Line 1: |
- | A scene usually looks like this in the viewport: | + | #REDIRECT [[Docs:Viewport lighting]] |
- | | + | |
- | [[Image:Sdk_light 01.jpg|left|thumb]]{{Clear}} | + | |
- | | + | |
- | 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 <tt>Light</tt> on the level. Then, choose the following in <tt>Options</tt>: | + | |
- | | + | |
- | [[Image:Sdk_light 02.jpg|left]]{{Clear}} | + | |
- | | + | |
- | * '''Light Scene''' (mandatory) | + | |
- | * Render -> Shade Mode -> '''Gouraud''' (mandatory) | + | |
- | * Render -> '''HW Render''' (recommended) | + | |
- | * Render -> '''Linear Filter''' (recommended) | + | |
- | * Render -> '''Textures''' (recommended) | + | |
- | * '''Real Time''' (recommended) | + | |
- | | + | |
- | Then, in <tt>Light</tt> properties, which could be called up by pressing <tt>Enter</tt> in the corresponding mode, choose <tt>Visible</tt>. Now, in order to properly see the lighting, we recommend that you choose an outdoor light and increase the time factor in in <tt>Weather -> Properties</tt>. | + | |
- | | + | |
- | [[Image:Sdk_light 03.jpg|left|thumb]]{{Clear}} | + | |
- | | + | |
- | In the end, it should looks somewhat like this: | + | |
- | | + | |
- | [[Image:Sdk_light 04.jpg|left|thumb]]{{Clear}} | + | |
- | | + | |
- | The picture is similar, in essence, to R1 (static lighting) without the lightmaps. Also, detail objects and wall marks are not illuminated. | + | |
- | | + | |
- | [[ru:Docs:Освещение во вьюпорте]] | + | |
- | [[Category:Справка по CS SDK|{{PAGENAME}}]] | + | |