![]() More information on the shader cache can be found in the following topics: Other platforms, such as consoles or systems relying on an OpenGL rendering backend need to have the shaders pre-compiled or be able to access a Remote Shader Compiler (for development only).īecause the number of possible shader configurations in abstract is huge, the possibilities for a given game need to be calculated into a list, so that they can be pre-compiled and packed into a shader cache.Ī Shader Cache is necessary in any platform in order for the game to run smoothly without noticeable freezes or visual glitches. ![]() Since all shader code is written in HLSL and cross compiled to other platforms, shader compilation is only possible on a Windows PC. If a shader is not found in the Shader Cache, it will have to be compiled locally or via a Remote Shader Compiler. The Shader Cache is a collection of parsed and pre-compiled shaders.ĭuring the play of a level, at runtime, necessary shaders will be requested with all the variables defined, such as lighting configuration and the usage of techniques like fog or transparency.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |