The following warnings occurred:
Warning [2] count(): Parameter must be an array or an object that implements Countable - Line: 906 - File: showthread.php PHP 7.2.24-0ubuntu0.18.04.17 (Linux)
File Line Function
/showthread.php 906 errorHandler->error



Facebook Twitter YouTube Frictional Games | Forum | Privacy Policy | Dev Blog | Dev Wiki | Support | Gametee


Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Question about draw calls
JonnyAnomaly Offline
Member

Posts: 179
Threads: 20
Joined: Nov 2012
Reputation: 14
#1
Question about draw calls

I've been confused for a while about draw calls in game for textures and assets, and I was hoping someone could help clear something up. At the moment, I've been using this single wood texture to texture some props and things, thinking that the engine will recognize that it only has to use this one texture across multiple objects and therefore only have to call it once - But is it right to assume it will only call it once, or do I have to do something else in the 3D package, like bring them all into a scene and assign the one material to all of them before exporting?

It would be nice to know that its loading the texture only once, and not loading the same texture 7 times or something, which would be wasteful. My method so far for creating the assets has been to start a new scene, model the object and then assign a new material, point it to my wood texture and then export. Then do the same again with a new object (new scene, new material).

Or does it only come down to using the same material in the material editor to determine whether it calls it once?
04-24-2013, 12:32 PM
Find


Messages In This Thread
Question about draw calls - by JonnyAnomaly - 04-24-2013, 12:32 PM
RE: Question about draw calls - by JonnyAnomaly - 04-24-2013, 02:23 PM
RE: Question about draw calls - by JonnyAnomaly - 04-25-2013, 08:31 AM



Users browsing this thread: 1 Guest(s)