Opengl, Computer Graphics, Shaders, Texture, Shading.
car, light source will move with car. (Position update required) 4. Material properties Based on material properties, same illuminations can be represented in a different way. it gives us diversity! // (r,g,b,opacity) vec4 ambient = vec4(0.2, 0.2, 0.2, 1.0); vec4 diffuse = vec4(1.0, 0.8, 0.0, 1.0);