Jump to content

Editing the graphics.lua file for better VR Performance - Tips/Advice/Help Thread


Recommended Posts

Posted (edited)

I'm trying to make sense of the grahpics.lua file to extract maximum performance for VR. My hunch is that there are a number of things going on that we can control that will affect the frame rates and that the key to extracting those frames are in that LUA file.

 

However, the values in the file are somewhat confusing since there are settings for low, medium, high, ultra and extreme settings; guessing they correspond to the Complexity setting in the graphics menu. Since I am in the dark here for the most part, and others may be as well, perhaps those among us who know more can help.

 

Thanks in advance!

 

NB - the file in question is located in the \...\Config\ folder.

 

Here's a sample from the file:

 

Camera =
{
   Low =
   {
       near_clip = 0.02;
       far_clip = 150000;

       structures = {100, 12000};
       trees = {1000, 1500}; -- looks to be obsolete
       dynamic = {300, 12000};
       dynamic2 = {300, 12000,0.5};
       objects = {3000, 80000};
       mirage = {3000, 20000};
       surface = {20000, 80000};
       lights = {200, 40000};
       districtobjects = {400, 400};
       districts = {3000, 3000}; -- changed from 8000 to 3000

       lodMult = 1.0;
       lodAdd = 0;
   };

I use Notepad++ to edit this type of file.

 

Other files to be considered for "possible adjustment":

 

\...\Config\Effects\shadows.lua

Edited by DerekSpeare

Derek "BoxxMann" Speare

derekspearedesigns.com 25,000+ Gaming Enthusiasts Trust DSD Components to Perform!

i7-11700k 4.9g | RTX3080ti (finally!)| 64gb Ram | 2TB NVME PCIE4| Reverb G1 | CH Pro Throt/Fighterstick Pro | 4 DSD Boxes

Falcon XT/AT/3.0/4.0 | LB2 | DCS | LOMAC

Been Flight Simming Since 1988!

Useful VR settings and tips for DCS HERE

Posted (edited)

Here's my advice I would contact user Mustang he is the yoda lua master. He made a couple edits back when the Dk2 was the new hotness and made my flying with it very good. Sounds like exactly what you guys need!

 

Edit from what I remember he drastically reduced certain buildings at distance and shadows and the frame rate jump was amazing.

 

Edit again here is the old file and thread

 

http://forums.eagle.ru/showpost.php?p=1872481&postcount=31

 

Was for the old engine but may give you direction also read the first 3 pages of that thread mustang posted interesting things

Edited by Enduro14

Intel 8700k @5ghz, 32gb ram, 1080ti, Rift S

Posted

Shadows introduce a massive performance hit, but are great in the cockpit as a directional cue. It looks as though it may be possible to disable shadows for trees and buildings, but leave them on for the cockpit. I haven't tested it myself as yet though:

 

http://forums.eagle.ru/showpost.php?p=2495081&postcount=7

Oculus CV1, i7 4790k @ stock, gtx 1080ti @ stock, 32gb PC3-19200 @ 2.4ghz, warthog & saitek pedals, razer tartarus chroma.

Posted
Here's my advice I would contact user Mustang he is the yoda lua master. He made a couple edits back when the Dk2 was the new hotness and made my flying with it very good. Sounds like exactly what you guys need!

 

Edit from what I remember he drastically reduced certain buildings at distance and shadows and the frame rate jump was amazing.

 

Edit again here is the old file and thread

 

http://forums.eagle.ru/showpost.php?p=1872481&postcount=31

 

Was for the old engine but may give you direction also read the first 3 pages of that thread mustang posted interesting things

 

Good information!

 

Shadows introduce a massive performance hit, but are great in the cockpit as a directional cue. It looks as though it may be possible to disable shadows for trees and buildings, but leave them on for the cockpit. I haven't tested it myself as yet though:

 

http://forums.eagle.ru/showpost.php?p=2495081&postcount=7

 

I think this works :thumbup:

Derek "BoxxMann" Speare

derekspearedesigns.com 25,000+ Gaming Enthusiasts Trust DSD Components to Perform!

i7-11700k 4.9g | RTX3080ti (finally!)| 64gb Ram | 2TB NVME PCIE4| Reverb G1 | CH Pro Throt/Fighterstick Pro | 4 DSD Boxes

Falcon XT/AT/3.0/4.0 | LB2 | DCS | LOMAC

Been Flight Simming Since 1988!

Useful VR settings and tips for DCS HERE

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...