Here it is the rendering of the Utah Teapot and the Stanford Dragon rendered with my first shader.
The shader's code is straightforward:
Here below the code which passes the vertex attributes to the shader is presented. Qt helper classes are a good choice in order to write quickly a more readable code. For this reason I will use this approach whenever it's possible
No comments :
Post a Comment