Skip to main content
GameDev.net gamedev.net
๐Ÿ”’ Locked

Terrain mesh lighting problems

Started by GekkoCube Mar 16, 2003 at 7:15 PM 1 replies 400+ views
Original Post
GekkoCube
GekkoCube
My terrain doesnt appear to be lit very well (granted that my current texture is a grayscale image). I dont have any normals set on my terrain or any materials. Could it be my terrain''s lack of a material, normal, or just the world''s lighting (or all of the above)? thanks.
falkone
falkone
Umm.. i''m not familiar with DX lighting.. but i think that normals are required for any lighting system..
Disclaimer: "I am in no way qualified to present advice n any topic concerning anything and can not be held responsible for any damages that my advice may incurr (due to neither my negligence nor yours)" o
flaXen
flaXen
For sure. Without normals, the lighting routines won''t work, period (short of maybe vertex programs generating them). Calculating surface normals is easy. Hit Google up for that.

Topic Locked

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

Sign in to reply to this topic.