M MY Multiplayer: Wiki
Side
Kind

engineSetShaderQuality

Client

Changes this client's material quality. Shaders that read QUALITY are compiled for the new level.

bool engineSetShaderQuality(string level)

Parameters

NameTypeDescription
levelstringlow, medium, high or epic, in any case.

Returns

true if the quality changed, false while there is no renderer yet.

Example

addCommandHandler("quality", function(_, level)
    engineSetShaderQuality(level or "high")
end)

See also