+1 vote

How can you change graphics options (anti-aliasing, texture quality, etc.) of a 3D game with GDScript?
(It must work in the exported game, not only in the Godot editor.)

in Engine by (142 points)

1 Answer

+1 vote
Best answer

Most graphics settings can be changed at run-time by calling methods in VisualServer or modifying properties in the Environment resource currently in use. See this script for an example.

Godot supports shrinking all textures by a 2× factor, but keep in mind this also affects 2D elements. Note that texture quality generally doesn't impact FPS noticeably, so I would leave it as-is at first.

by (12,721 points)
selected by

I don't understand how to connect the code. I'm new

Welcome to Godot Engine Q&A, where you can ask questions and receive answers from other members of the community.

Please make sure to read Frequently asked questions and How to use this Q&A? before posting your first questions.
Social login is currently unavailable. If you've previously logged in with a Facebook or GitHub account, use the I forgot my password link in the login box to set a password for your account. If you still can't access your account, send an email to [email protected] with your username.