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 so using a cloned shader with parameters set one time is the same than the same shader used by multiple materials where parameters are updated very often?
-
-
Ah, I misunderstood. They're not the same. I think using 1 shader is faster. I would be interested to know!
-
But with only one shader you've to push data at each frames. So textures, etc... Not sure if it's good or not. I would say it's not good but I don't know that's why I ask
- 7 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.