Jump to content
  • Advertisement

nen777w

Member
  • Content count

    1
  • Joined

  • Last visited

Community Reputation

0 Neutral

About nen777w

  • Rank
    Newbie

Personal Information

  1. Hi! I implemented front 2 back peeling algorithm same as in NVIDIA demo in my engine. For the one transparent object it work fine, but if camera show two transparent objects simultaneously the second object become brighter on the area of cross of this objects. It's happens when blending peeling result. Probably I need to draw each transparent object separately and then blending? p.s. GL state on peeling blending: GL_DEPTH_TEST = OFF GL_BLEND = ON glBlendEquation(GL_FUNC_ADD); glBlendFuncSeparate(GL_DST_ALPHA, GL_ONE, GL_ZERO, GL_ONE_MINUS_SRC_ALPHA); Thank you for the help.
  • Advertisement
×

Important Information

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

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!