F5F Stay Refreshed Software PC Gaming Need assistance modifying Roblox's rendering API.

Need assistance modifying Roblox's rendering API.

Need assistance modifying Roblox's rendering API.

T
Three2woThree
Junior Member
10
07-22-2021, 08:36 PM
#1
Hello everyone.
It looks like the rendering API in my Roblox app has shifted to OGL, which is causing some issues (worsened shadows, low quality/textures, z-fighting, and slow performance). I used Directx11 before this change, but I’m not sure if the problem lies with my graphics card (ASUS RTX 3060) or with OpenGL itself. It’s affecting both visuals and performance, so I’d really appreciate help in switching the rendering API.
It’s also possible that I might be misconfiguring settings in the Nvidia control panel.
T
Three2woThree
07-22-2021, 08:36 PM #1

Hello everyone.
It looks like the rendering API in my Roblox app has shifted to OGL, which is causing some issues (worsened shadows, low quality/textures, z-fighting, and slow performance). I used Directx11 before this change, but I’m not sure if the problem lies with my graphics card (ASUS RTX 3060) or with OpenGL itself. It’s affecting both visuals and performance, so I’d really appreciate help in switching the rendering API.
It’s also possible that I might be misconfiguring settings in the Nvidia control panel.

_
_Takla__King_
Junior Member
10
07-30-2021, 04:42 PM
#2
Why not opt for the VULKAN API? Have you considered adjusting Roblox's GraphicsMode to Direct3D11 or Vulkan through Studio settings?
Graphics Mode mainly determines which graphics API Roblox uses for rendering. The options are based on numerical values. For DX11, you should switch it to 2:
Automatic
1
Roblox will pick the best graphics mode for your device automatically.
Direct3D11
2
Direct3D Version 11 (Microsoft).
OpenGL
4
OpenGL (Khronos Group).
Metal
5
Metal (Apple).
Vulkan
6
Vulkan (Khronos Group).
NoGraphics
7
The game won’t render; instead, a diagnostics window appears on the screen.
Alternatively, another approach exists but I missed the precise command for DX11. You can modify it by crafting a JSON file.
First navigate to your Roblox installation folder where RobloxPlayerBeta.exe is stored.
Inside that directory, create a new folder called ClientSettings and add a JSON file containing the following content:
{"FFlagDebugGraphicsPreferDirect3D11":"true","FFlagDebugGraphicsDisableVulkan":"true"}.
To generate a JSON file, open any text editor, paste the above code, and save it with a .json extension.
_
_Takla__King_
07-30-2021, 04:42 PM #2

Why not opt for the VULKAN API? Have you considered adjusting Roblox's GraphicsMode to Direct3D11 or Vulkan through Studio settings?
Graphics Mode mainly determines which graphics API Roblox uses for rendering. The options are based on numerical values. For DX11, you should switch it to 2:
Automatic
1
Roblox will pick the best graphics mode for your device automatically.
Direct3D11
2
Direct3D Version 11 (Microsoft).
OpenGL
4
OpenGL (Khronos Group).
Metal
5
Metal (Apple).
Vulkan
6
Vulkan (Khronos Group).
NoGraphics
7
The game won’t render; instead, a diagnostics window appears on the screen.
Alternatively, another approach exists but I missed the precise command for DX11. You can modify it by crafting a JSON file.
First navigate to your Roblox installation folder where RobloxPlayerBeta.exe is stored.
Inside that directory, create a new folder called ClientSettings and add a JSON file containing the following content:
{"FFlagDebugGraphicsPreferDirect3D11":"true","FFlagDebugGraphicsDisableVulkan":"true"}.
To generate a JSON file, open any text editor, paste the above code, and save it with a .json extension.

I
IAmKillerham
Senior Member
252
08-04-2021, 01:57 PM
#3
Apologies for the delayed response, I discovered that Reshade was the real issue causing changes to my Roblox API. I'm still learning, sorry.
The problem is now resolved, and I can use D3D11 again. Thank you for your patience.
Hey, thanks for taking the time to assist me.
I
IAmKillerham
08-04-2021, 01:57 PM #3

Apologies for the delayed response, I discovered that Reshade was the real issue causing changes to my Roblox API. I'm still learning, sorry.
The problem is now resolved, and I can use D3D11 again. Thank you for your patience.
Hey, thanks for taking the time to assist me.

S
Skysel
Member
71
08-04-2021, 03:11 PM
#4
I faced the same problem before and resolved it by reinstalling the complete game. The way of editing that JSON file seems really useful. I’ll remember this tip for later 👍
S
Skysel
08-04-2021, 03:11 PM #4

I faced the same problem before and resolved it by reinstalling the complete game. The way of editing that JSON file seems really useful. I’ll remember this tip for later 👍