View Issue Details

IDProjectCategoryView StatusLast Update
0004680The Dark ModGraphicspublic01.01.2021 23:16
Reporterduzenko Assigned Tocabalistic  
PrioritynormalSeveritytweakReproducibilityhave not tried
Status assignedResolutionopen 
Product VersionTDM 2.06 
Summary0004680: Falloff and projection textures replacement
DescriptionI believe that modern low-end GPU's are often limited with their TMUs.
E.g. Intel HD Graphics 4600 have the following Peak Theoretical GPU Performance:
 5.4 GPixels/s, 10.8 GTexels/s, 432 GFLOPS.
This means that best case scenario only two textures can be used per clock. Each consecutive texture is taxing on the fillrate.
This problem is further aggravated by the customary low memory bandwidth and fighting with CPU for memory and L3 cache access.
At the same time this GPU can do up to 80 ALU instructions per clock, as long as operands are local.
Let's try and see if some of the standard light falloff and projection textures can be replaced with GLSL formulas and how much fps gain it can bring.
TagsNo tags attached.

Relationships

related to 0003684 new Investigate GPL Renderer Improvements 
child of 0005022 assignedcabalistic Implement a forward+ render 

Activities

duzenko

duzenko

24.11.2017 20:23

developer   ~0009695

Quick test fps: 36 -> 37. Two full-screen lights, little geometry and AI.
nbohr1more

nbohr1more

28.06.2018 15:48

developer   ~0010601

Moved to 2.08
2.07 is a bug-fix release.
cabalistic

cabalistic

31.12.2020 20:50

developer   ~0013338

My intention is to look into this again after 2.09, in combination with the manylight shader. It may be better to introduce "new" light types for point and spot lights with default falloff similar to what other engines currently have (UE4, Unity). The current light type would remain for those use cases where you need texture projection. After some initial discussion in the Discord, it appears that this would also have mapper support, as it would potentially make setting up the majority of lights easier and produce better quality (no banding artefacts).

@duzenko: Did you have some concrete plans for this ticket? Otherwise I'd like to "steal" it from you :)
duzenko

duzenko

01.01.2021 22:51

developer   ~0013343

@cabalistic
Glad to offload it
I gave it a try but not good enough

Issue History

Date Modified Username Field Change
24.11.2017 19:48 duzenko New Issue
24.11.2017 19:48 duzenko Status new => assigned
24.11.2017 19:48 duzenko Assigned To => duzenko
24.11.2017 20:23 duzenko Note Added: 0009695
28.06.2018 15:48 nbohr1more Target Version TDM 2.07 => TDM 2.08
28.06.2018 15:48 nbohr1more Note Added: 0010601
20.12.2018 16:39 nbohr1more Relationship added related to 0003684
22.03.2020 18:14 duzenko Target Version TDM 2.08 => TDM 2.09
05.12.2020 12:41 stgatilov Product Version SVN => TDM 2.06
05.12.2020 12:41 stgatilov Target Version TDM 2.09 =>
31.12.2020 20:30 nbohr1more Relationship added child of 0005022
31.12.2020 20:50 cabalistic Note Added: 0013338
01.01.2021 22:51 duzenko Note Added: 0013343
01.01.2021 23:16 cabalistic Assigned To duzenko => cabalistic