I think it would be awesome to add multitexture support.  How do
additions get requested?


I'll investigate the shader option.

On Aug 18, 10:12 am, "Alex Holkner" <[EMAIL PROTECTED]> wrote:
> On 8/18/08, stampson <[EMAIL PROTECTED]> wrote:
>
>
>
> >  I'm working on a pyglet app that loads Quake3 maps and lets you fly
> >  around and view them.  I'm loading the geometry (the polygons and
> >  meshes, but not the patches yet) into a graphics batch.  It works, the
> >  framerate is great, and I have the surface textures but now would like
> >  to add the lightmap texture.
>
> >  I thought I would be able to modify my "TextureBindGroup" to add
> >  multitexturing, but it looks to me like I would also need support for
> >  specifying MultiTexCoords as vertex attributes when adding to the
> >  batch.
>
> >  Is there a way to do multitexture with batched rendering in pyglet?
>
> Afraid not.  This would be a reasonably simple addition that I could
> make in pyglet 1.2, if requested.  If you're able to use a shader, you
> can also pass the texture coordinates as generic vertex attributes,
> which pyglet 1.1 does support.
>
> Alex.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"pyglet-users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/pyglet-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to