Jump to content
  • Advertisement


  • Content Count

  • Joined

  • Last visited

Community Reputation

111 Neutral

About tkgamegroup

  • Rank
  1. tkgamegroup

    quesutions about index drawing

    Thank you for answering. I think I know what to do.
  2. Is index drawing popular in games? If yes, how do they arrange the normal and texcoord? There are a lot of situations that a vertex can have more than one normal and texcoord, so the vertices will be split into copies with their own normal and texcoord in some model files, but is this good? because there will be a few vertex that are repeated, isn't it the aim of index drawing to reduce vertex repetition rate?
  3. tkgamegroup

    Blend with vec3

    it works! seems OpengGL gives a 0.0. And i am thinking the problom of spec, since it is a vec4.
  4. tkgamegroup

    Blend with vec3

    OpenGL will invent an alpha/'w' component for you. You'd have to double check with the spec, but it will likely use 1.0, or if not that, then 0.0...   thank you, your answer is just like what i think, i will try it.
  5. tkgamegroup

    Blend with vec3

        taken from: https://www.opengl.org/wiki/Blending     basically blending only affects colors   it means there is no output at all??
  6. tkgamegroup

    Blend with vec3

    what happend when you turn on blend and output a vec3?   such as:   glBlendFunc(GL_SRC_ALPHA, GL_ONE_MINUS_SRC_ALPHA);   layout(location = 2) out vec3 o_normal;
  • Advertisement

Important Information

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

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!