|
From: Dair G. <da...@re...> - 2004-08-03 17:43:10
|
Keith Wiley wrote:
>Fundamentally, I need to know for certain that I am right in my
>assumption that there is only one copy of the texture in VRAM even if
>I have thousands of these objects, assuming their (unique) shaders all
>use the same texture pointer.
That's correct. You can have:
TriMesh1 --> Shader1 ----
\
--> Texture
/
TriMesh2 --> Shader2 ----
So two QD3D shaders, referencing one QD3D texture object, which will
reference one OpenGL texture object, which will correspond to one chunk
of VRAM.
-dair
___________________________________________________
mailto:dair+refnum.com http://www.refnum.com/
|