Jump to content

whats the mta texture and shader limit?


Behnam-Edit

Recommended Posts

hi , im working on a resource which needs alot of textures ( maybe around 300 - 500 textures but most of them have low resolution ) so my question is that if its okay to do anything like this? cause im worried it would crash the players ...

btw all the textures are pre converted to DXT1 or DXT5 and the vram usage is around 200 mb and the shaders are only created when they need to be shown and otherwise they will be destroyed

so if you guys have any experience with this situation please leave a reply

thanks

Link to comment
On 25/10/2022 at 09:51, -ffs-PLASMA said:

Theres no real hardcoded limit, it all depends on the client computer.

yeah but the dxcreatetexture page on the wiki says creating alot of textures can cause crashes so thats why im asking , i know it depends alot on the clients hardware but i wanna know how many textures and shaders and how much vram usage is safe

Edited by Behnam-Edit
Link to comment

As I said, theres no general limit.

A client with 2gb vram can obviously handle more textures than a client with 1gb vram. A good practice is to use dxGetStatus to get an overview of the clients video hardware and then create a script/system to estimate what the client can handle in terms of texture sizes and amounts.

Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...