Help me source code

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!!! :smiley:

Looks like you need to draw a sphere with are decal of a star with a single light source - good luck

thank you very much. but my teacher doesn’t permit decal stickers. :frowning:

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.

thanks. can you link to download it?

Here you are: Amazon.com - 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.