OpenGl

Discussion in 'Game Development (Technical)' started by Jobs@et, Jun 18, 2021.

  1. Jobs@et

    Jobs@et New Member

    Joined:
    Jun 18, 2021
    Messages:
    1
    Likes Received:
    0
    Hi guys, I'm following tutorial from learnopengl.com site and i am a beginner my question is does every mesh
    in the scene need its own vertex and fragment shader? and also the camera to!! so for every mesh i need to render it require calculate the projection Metrix is that mean i need to pass camera object for every single mesh in the scene?
     
  2. shamu

    shamu New Member

    Joined:
    Oct 7, 2021
    Messages:
    14
    Likes Received:
    0
    OpenGL is not a programming language, it is an API whose purpose is to take data from the CPU to the GPU. Thus, as a computer graphics developer, your task is to send data to the GPU through OpenGL objects. Once data reaches the GPU, it goes through the OpenGL Rendering Pipeline.
     

Share This Page

  • About Indie Gamer

    When the original Dexterity Forums closed in 2004, Indie Gamer was born and a diverse community has grown out of a passion for creating great games. Here you will find over 10 years of in-depth discussion on game design, the business of game development, and marketing/sales. Indie Gamer also provides a friendly place to meet up with other Developers, Artists, Composers and Writers.
  • Buy us a beer!

    Indie Gamer is delicately held together by a single poor bastard who thankfully gets help from various community volunteers. If you frequent this site or have found value in something you've learned here, help keep the site running by donating a few dollars (for beer of course)!

    Sure, I'll Buy You a Beer