Cubyz
Cubyz copied to clipboard
There are too many texture reads in the fragment shader. This slows down the game.
Possible solutions:
- Separate shaders for textures with reflectivity/emission
- merge emission and reflectivity textures into a single texture to make everything with a single texture read.
- Conditionally read textures, only if needed
These performance problems are greatly amplified by anisotropic filtering. Disabling it seems to make things faster.