I am new to Open GL, i am trying to create a rectangle with shadow around it. i have searched over the internet and found some docs which produces shadow using following methods:
- Drawing Multiple rectangles with different alpha values
- Using Shaders to create shadow
Is there any sample codes to achieve it ?
Source: Windows Questions C++