GraphicsModule | Handle Basic Texture/Shadow Settings With Ease

DISCLAIMER: MAINLY MADE FOR BEGINNERS.

Hello! I made a module to handle some common settings in most games. Its not particuraly good or anything (Infact it can be vastly improved). But if you guys like it I can keep improving it!

Set up Instructions:

  1. Put in ReplicatedStorage.
  2. Configure “Settings” Module. Set “Map” Value to your workspace Map folder.
  3. local GraphicsModule = require(Path-to-module).

Functions:
DisableObjectTextures() = Disable all object textures in Map folder.
EnableObjectTextures() = Enable all object textures in Map folder.

DisableObjectShadows() = Disable all object CastShadows in Map folder.
EnableObjectShadows() = Enable all object CastShadows in Map folder.

ToggleGlobalShadows() = Toggles GlobalShadows.

ShadowsClean() = Cleans all past functions, Resets tables and reverts back to game’s original Shadow (CastShadow/GlobalShadow) state in Map folder.

TexturesClean() = Cleans all past functions, Resets tables and reverts back to game’s original Texture state in Map folder.

Misc

SettingsModule:
“LowTexture” is the value for a lower, easier to render texture incase the object isnt a texture itself.

Module:
“CustomMap” is the ovveride incase you want to change anothers map rather then the one in Settings.Map

Module:
GraphicsModule

2 Likes