Hey 3d folks, what is best for the GPU: having one shader updated multiple time per frames or have many instance which are only updated with camera transform (or other variable parameters) ? Cc @skaven_ @tomspilman @MonoGameTeam
Ok but is it a good idea to cache shader parameters? Because I can have a shader instance per material with 3 parameters changed per frame instead of all parameters. Don't know how @MonoGameTeam handle that internally.
-
-
There's no way to share cached uniforms across shaders, if that's what you're asking.
-
could you use structured buffers to pass params across shaders, like with compute?
- 11 réponses de plus
Nouvelle conversation -
Le chargement semble prendre du temps.
Twitter est peut-être en surcapacité ou rencontre momentanément un incident. Réessayez ou rendez-vous sur la page Twitter Status pour plus d'informations.