Cg: C for Graphics Jon Moon Based on slides by Eugene Lee Overview Cg Basics Vertex Shaders Fragment Shaders Using Cg in OpenGL What is Cg? Cg is a high level shader language…
CS121 CS361 Week 3 - Friday Last time What did we talk about last time? Vertex shaders Geometry shaders Pixel shaders Questions? Project 1 Effects All this programming gets…
CS121 CS361 Week 8 - Friday Last time What did we talk about last time? Radiometry Photometry Colorimetry Lighting with shader code Ambient Directional (diffuse and specular)…