Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

FPSC Classic Product Chat / No light effect???

Author
Message
TIMON
14
Years of Service
User Offline
Joined: 28th Aug 2011
Location: France
Posted: 25th May 2012 16:22
Hi
Something is wiered, I created a new test map for me to learn, a simple huge interior room I put light sources but I noticed the intensity is very weak, franchly the light effect is barely visible, here what I tried:
-I added numerous light bulbs.
-Increased the light range.
Iam sure that in build settings all is set to high details.

but when I test my map it is really bad, We can not create dark rooms/maps? It seems to me that the created rooms are already illuminated with white light it is really annoying I want just to create light effects as I want (dark, red, white,...ect ect) I know it is not normal what am I missing?
Troutflies
15
Years of Service
User Offline
Joined: 24th Feb 2011
Location: Stuck outside my map.
Posted: 25th May 2012 16:53
Tim,

In the map editor, go to file>buildgame>levelsettings(I think, its the second tab) then The second tab on the sceen that pops up. Where it say ambience set everything to zero. Be sure to hit return everytime you change the value otherwise it wont change in the game.

This will make your whole game dark. Now you can apply lights wherever you want.

you can also adjust the ambience in the test game by using the <> but they aren't really customable adjusting them this way.
TIMON
14
Years of Service
User Offline
Joined: 28th Aug 2011
Location: France
Posted: 25th May 2012 17:01
thanks alot
Northern
15
Years of Service
User Offline
Joined: 5th Nov 2010
Location: Brazil
Posted: 26th May 2012 07:51
Hello TIMON,

Besides what has been written already, please notice that the settings of the properties, lightmaptexsize and lightmapquality into setup.ini file also might influence the quality of the lighting and textures as well as the final size of your game level in MB.

Cheers,

Northern
TIMON
14
Years of Service
User Offline
Joined: 28th Aug 2011
Location: France
Posted: 26th May 2012 18:09
Hi Northern,

I have a high rig so I really prefer the maximum quality, please can you tell me what I have to change in setup.ini to have the best quality like you said (lighting, textures....ect). Thanks
Northern
15
Years of Service
User Offline
Joined: 5th Nov 2010
Location: Brazil
Posted: 28th May 2012 01:32 Edited at: 28th May 2012 06:42
Hello Timon,

Quote: "I have a high rig so I really prefer the maximum quality, please can you tell me what I have to change in setup.ini to have the best quality like you said (lighting, textures....ect). Thanks"



What to do to get better lighting it's hard to say because the lighting of a scene is a function of many variables as shown below, so you should use a lot of trial-and-error technique.

f(G,L1,L2,T,S,Li,Lc,Lp,R,Ln)= best lighting quality

G= gpu (Graphic Process Unit) features as well as its memory size;

L1 =lightmaptexsize;

L2 = lightmapquality;

T= texture quality (diffuse, normal, specular). For poor textures maybe

darker areas be a better choice;

S= quality of the shaders applied on objects on the scene;

Li= light intensity;

Lc= light color;

Lp= light position;

R = quality of the game engine rendering system;

Ln= number of lights on the scene

In this case, you should change some variables in setup.ini file such as the lightmaptexsize and lightmapquality or changing the values ​​of the light intensity, number of lights on a scene or the colors of them. Sometimes it is necessary try to use various types of shader effect on an object and see which of them produces better results because often the object may become very clear as if it were a plastic or a wet surface or too dark losing the scene lighting its realism.

It may happen that do not use any shader effects at all make the scene more realistic and natural.


Remember that the use of shaders in general requires more processing resources of the computer some kind of shaders more and some less.


Regarding to FPSC I have found good lighting results with the following values:

lightmaptexsize=256 and lightmapquality = 100 - produces fair results on computers with poor graphics boards or for those with decent 3D video boards, without much harm the performace during the game.

lightmaptexsize=512 and lightmapquality =100 - produces good results on computers with budget graphics cards; however, it will require more resources and processing.

lightmaptexsize=768 and lightmapquality = 100 to 400 - produces very good results in both computers with poor graphics cards or with great 3D video board requiring more memory and processing resources as well.

Wolf wrote an excellent tutorial titled Lightmapping which you can find the link below:

http://forum.thegamecreators.com/?m=forum_view&t=186371&b=21


Edit Start:

Furthermore, in the following link are some screenshots showing the same scene with different settings of illumination changing only two variables: lightmaptexsize and lightmapquality.

http://dl.dropbox.com/u/64612150/Lighting_room.jpg

All textures of the walls and floor with diffuse, normal and specular mapping and effect bump.fx as well.

It was used the effect phong_bump_specular.fx to the textures of the barrels and storage entities.

Walls lighting fixtures with effect illuminationent.fx activated

Edit End.

I hope all these informations may be useful for you.

That's it!

Good luck!

Northern
TIMON
14
Years of Service
User Offline
Joined: 28th Aug 2011
Location: France
Posted: 28th May 2012 13:19
thanks alot for the info

Login to post a reply

Server time is: 2026-07-03 15:30:47
Your offset time is: 2026-07-03 15:30:47