Jump to content

Where are the "graphics quality" sim groups defined?


Recommended Posts

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?

Link to post
Share on other sites

core/scripts/client/defaults.cs


https://github.com/GarageGames/Torque3D/blob/development/Templates/Full/game/core/scripts/client/defaults.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.

Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...