Hi,

I wonder if the performance can be speeded up if it is known, that for a particular view 1) no textures are rendered (e.g. a depth-view) and/or 2) only a subset of skins should be set, e.g. only the diffuse texture (e.g. for generating reflection cubemaps or such).

If I want to do a Z-prepass and I have e.g. a mesh with several hires textures, I could imagine that the depthmap is generated faster if there were a "NOSKINS" flag for views (or materials) that supresses the setting of textures. If so, you could also render such a complex model with one drawcall, too.

In other scenarios, I could also imagine a positive sideeffect if the engine knows that all other skins except skin1 should be not set (skipped), because we only need the diffuse texture. If there were NOSKIN1, NOSKIN2, NOSKIN3 flags or such, this can be achieved.

What do you think?

Last edited by HeelX; 04/29/13 12:16.