Results 1 to 2 of 2

Thread: Blue Bible 5 edition, Toon shader program charter 6 page 286...

  1. #1
    Newbie Newbie
    Join Date
    Apr 2014

    Blue Bible 5 edition, Toon shader program charter 6 page 286...

    This Toon shader program, (is inside a package) SB5, refer to Cell lighting shader,
    and also state

    // Incoming for vertex... position and normal

    in vec4 vVertex;
    in vec3 vNormal;

    smooth out float textureCoordinate;

    My question is:
    I been reading (Blue Bible 5)this in and out variables declaration, shader and vertex part of the program, I can't find these variable declaration in the code provide in SB5, none
    of the charter 6 programs used these in and out variables in the cpp, they run and display like should be, to my knowledge level, where those code are locate it, where I can find it?

    Thanks for your time and patient

  2. #2
    Newbie Newbie
    Join Date
    Apr 2014
    If you come around this question, don't panic is very easy, GLSL is a text old file that, your function can read this as string, that is the reason of the quotation mark in the argument inside the functions ("MoonShader.fp") or ("MoonShader.vp") for fragment or vertex programs as example, other idea to consider , is there is not convention for the extension in this files , but you can read it with a text editor all of them

Similar Threads

  1. OpenGL Bible second edition
    By PiresK in forum OpenGL: User Software
    Replies: 0
    Last Post: 08-24-2017, 09:44 PM
  2. Toon shader with Texture. Can this be optimized?
    By neo187 in forum OpenGL: Advanced Coding
    Replies: 7
    Last Post: 11-28-2011, 04:36 PM
  3. Question about Toon Shader order of operations
    By RoiiG in forum OpenGL: Basic Coding
    Replies: 0
    Last Post: 08-02-2011, 08:05 AM
  4. Regarding a simple toon shader
    By Mukund in forum OpenGL: GLSL
    Replies: 2
    Last Post: 07-09-2011, 11:10 AM
  5. Toon shading with vertex program
    By sebh in forum OpenGL: GLSL
    Replies: 0
    Last Post: 12-05-2003, 04:54 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
Proudly hosted by Digital Ocean