nen777w

Members
  • 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.