• 14
• 12
• 9
• 10
• 9

# DirectX 2D Lighting

This topic is 3227 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

## Recommended Posts

Is it possible to have lighting in 2D? I assume so but is it possible to light simple lines? I have a buffer or lines drawn with:
d3ddev->DrawPrimitive(D3DPT_LINELIST, 0, nl/2)
Is it possible to apply lighting to this? If so if someone could point me in the right direction to a beginner's tutorial/explanation I would be very thankful. Thanks for your time, - Mike

Bump