Multi-rendering with 4 textures + 4 alpha masks

Started by
11 comments, last by DaN1maL 19 years, 8 months ago
I want to also....

zedzeek,can you sent to yjh1982yjh@yahoo.com.cn?
thanks very much!
Advertisement
I got the code working in my project... But I found out most of my problems were because of the way I was creating my alpha mask texture. I was using GL_ALPHA for the format.. Even though that should work, it doesn't. So I had to put GL_LUMINANCE.

I have everything working, only problem is that it's too slow. Is there anyway to get this all in one pass?

[Edited by - DaN1maL on August 10, 2004 12:05:09 AM]
I'm going to be using a pbuffer now to cache the quads around my position so i dont have to do all the rendering every frame....

But I'd still like to get all the layers rendered in one pass using a texture unit per layer. Do you know how this could be accomplished? Possible?

This topic is closed to new replies.

Advertisement