### Where are the "graphics quality" sim groups defined?

Scripting questions, discussions, etc

#### Where are the "graphics quality" sim groups defined?

Sir_Skurpsalot
Posts: 55
Joined: Tue Jan 28, 2020 6:32 pm
I'm in the process of re-doing the options gui and while I've been able to figure out how 90% of it works but I cannot find where the sim groups that contain the graphics quality preference level array objects that are used in scripts/gui/optionsGui.cs are defined. I am talking about MeshQualityGroup, TextureQualityGroup,LightingQualityGroup,and ShaderQualityGroup. I've searched a ton of the scripts and have yet to find out where these are defined. I don't necessarily want to change them it just bothers me that I can't find them. Anyone know?

#### Re: Where are the "graphics quality" sim groups defined?

Duion
Posts: 1622
Joined: Sun Feb 08, 2015 1:51 am

core/scripts/client/defaults.cs

https://github.com/GarageGames/Torque3D ... ts.cs#L232

All that it does is change $pref values that are defined in the engines code, you can add anything to those array groups or just remove them all and have the user directly change the$pref values, but that may be too complicated to understand for most people, that is why there are groups with "low", "medium" and "high" etc.

#### Re: Where are the "graphics quality" sim groups defined?

Sir_Skurpsalot
Posts: 55
Joined: Tue Jan 28, 2020 6:32 pm
Ah cool, thanks Duion!

#### Who is online

Users browsing this forum: No registered users and 1 guest