Jump to content
  • Advertisement

Archived

This topic is now archived and is closed to further replies.

opengl_coder

How should I set up my rendering sequence

This topic is 5482 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Hello Guys! How should I set up the rendering sequence in my project? The project has got alpha textures and stencil shadow wolumes. I guess that I have to call them in the right order... cheers opengl_coder

Share this post


Link to post
Share on other sites
Advertisement
Don''t know about the rest of it, but alpha objects should definitely be last, rendered from back to front with depth testing on, but depth writing off.

Share this post


Link to post
Share on other sites
Guest Anonymous Poster
Standard objects. - Chars, world, stuff
Shadows.
Alpha. - particals.

Share this post


Link to post
Share on other sites
Now what about shadows on a window? With shadow then alpha, you see the shadow in the room through the window... but what if there is a shadow on the window?

(ok, I''m evil, a little bit)

Share this post


Link to post
Share on other sites
Guest Anonymous Poster
If you need shadows on windows you need to render shadows 2 times. One for the world, once for windows. = BAD IDEA

Share this post


Link to post
Share on other sites
Guest Anonymous Poster
Plus shadows on windows Really don''t exsit, except for the lack of reflection that occurs. or by haveing dust on it. if it is a real window tho, it shouldn''t have a prob.

Share this post


Link to post
Share on other sites
Guest Anonymous Poster
Plus shadows on windows Really don''t exsit, except for the lack of reflection that occurs.

However they certainly do exist on say, alpha-mapped trees...

Share this post


Link to post
Share on other sites
Guest Anonymous Poster
Yes they do, but you just use alpha test to make those into solid objects. it is possible.

Share this post


Link to post
Share on other sites

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

Participate in the game development conversation and more when you create an account on GameDev.net!

Sign me up!