Author Topic: Image Texture vs Colored texture  (Read 2123 times)

Offline arianaa30

  • byte
  • *
  • Posts: 44
    • View Profile
Image Texture vs Colored texture
« on: July 12, 2012, 09:26:14 pm »
Hi there,
Is there any difference if we use colored texture (say green) or load a green image file (say a .png file)?  in terms of rendering overhead, or anything?
thanks

Offline EgonOlsen

  • Administrator
  • quad
  • *****
  • Posts: 12295
    • View Profile
    • http://www.jpct.net
Re: Image Texture vs Colored texture
« Reply #1 on: July 12, 2012, 09:47:21 pm »
Nope, it's the exact same thing.

Offline arianaa30

  • byte
  • *
  • Posts: 44
    • View Profile
Re: Image Texture vs Colored texture
« Reply #2 on: July 12, 2012, 09:52:55 pm »
ummm, I see. So no matter it is a single color or not, finally a texture would be created, even just to achieve a colored object.
Is it because of using jpct, or based on OpenGL ES itself?

Offline EgonOlsen

  • Administrator
  • quad
  • *****
  • Posts: 12295
    • View Profile
    • http://www.jpct.net
Re: Image Texture vs Colored texture
« Reply #3 on: July 12, 2012, 10:16:55 pm »
It's because of the way the engine works. But a 8x8 texture isn't such a big deal anyway...