Jump to content
  • Advertisement

renanrosa

Member
  • Content count

    56
  • Joined

  • Last visited

Community Reputation

132 Neutral

About renanrosa

  • Rank
    Member

Personal Information

  • Interests
    Programming

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

  1. Thank you for your reply. but using this code, how would you do it in C ++ to set various lights? I would not want to use an array of lights in GLSL: PointLightData pointLights []; it's possible ?
  2. Hello, i would to have a simple deferred shader with many light source code. I have read many tutorials but I could not understand. I would like a tutorial that I could use as many lights as I want without declaring a constant with the amount of lights. without I would like this effect (but without physical): Thank
  3. renanrosa

    Many shaders GLSL in scenes

    Did not work Remained only the first You have to set your depth-compare so that drawing the same model more than once passes the depth test each time (and similarly for any stenciling tests). The first pass typically uses GL_LESS (or GL_LEQUAL), and following passes use GL_EQUAL. L. Spiro Can you show to me? with source-code example.
  • 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!