Feature #1083

renderer2: get in real map values from bsp

Added by thunder over 1 year ago. Updated over 1 year ago.

Status:New% Done:

0%

Priority:LowSpent time:-
Assignee:-
Category:-
Target version:renderer2
OS: Arch:

Description

In tr_bsp
We have void R_LoadLights (char * lightDefs)
Here are a lot of things read from the bsp file when it comes to light.
Part of things do not belong to ET.
but can be introduced later.

but if we look at
http://games.chruker.dk/enemy_territory/entities.php?action=show_entity&entity_name=light
We see what’s right and what’s not + chance to get something more right

Also ambient is a problem in Q3 overall since we in the map both put color and strength.
ET has a fixed solution for this in R1. In R2, it’s just set.

Zturtleman has some opinions about this split here:

https://github.com/zturtleman/spearmint/wiki/Research:refEntity_t-Lighting-Control

I mean we can get this in with an extra cvar called eg ambientstrenght in tr_global or in trRefLight_t.
All this must be inspected


Related issues

Related to ET: Legacy Development - Feature #1084: renderer2: Add light control New 11.03.2018

Associated revisions

Revision 2d4bf7db
Added by IR4T4 over 1 year ago

renderer2: good day ambient lighting fixes #1082

- added a scale factor for ambient lighting in entity renderer - based
on a patch by Thunder

- disabled r_forceAmbient so we are using world ambient lighting ^^
refs #1083

- set r_normalmapping and r_materialscan cvars to better values (users
require additional assets which are not shipped)

History

#1 Updated by IR4T4 over 1 year ago

#2 Updated by thunder over 1 year ago

http://learnwebgl.brown37.net/09_lights/lights_ambient.html

I know its web gl but it isnt that far away so we still can learn something

#3 Updated by IR4T4 over 1 year ago

  • Subject changed from get in real map values from bsp to renderer2: get in real map values from bsp

Also available in: Atom PDF