Skip to main content
gamedev.net
🔒 Locked

Shadows(raycasting)

Started by CProgrammer 1 reply 300+ views
Original Post
CProgrammer
CProgrammer
I want to have shadowing on my terrain engine. Say I have a omni lamp on the terrain I want the mountains to cast shadows. I guess i''ll have to cast a ray to every vertex from the light source and see wether it hits something before getting there. Anybody have a good tutorial on this! Many thanks in advance. -CProgrammer

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.