Hi,
I am a Vietnamese.
I am a drawing exam with OpenGl https://www.dropbox.com/s/8hg0bi83ebmo8h5/Untitled.png
help me!!!!!!!
sory, my english is not good!!!!![]()
Hi,
I am a Vietnamese.
I am a drawing exam with OpenGl https://www.dropbox.com/s/8hg0bi83ebmo8h5/Untitled.png
help me!!!!!!!
sory, my english is not good!!!!![]()
Looks like you need to draw a sphere with are decal of a star with a single light source - good luck
The idea is to use fragment shader to accomplish that. There is a plenty of exaples, e.g. OpenGL Shading Language 3rd edition pg. 341.
Here you are: http://www.amazon.com/OpenGL-Shading...4767017&sr=8-1 - you can download the ebook for your Kindle for 32$, not sure if there exists another eBook format, if not you'll have to go with the paper version.