Skip to main content
GameDev.net gamedev.net
🔒 Locked

Hardware Multi-Texturing

Started by stevjj03 Dec 14, 2001 at 4:44 AM 0 replies 600+ views
Original Post
stevjj03
stevjj03
Recently i''ve been trying my hand at multi-texuring lightmaps. Over the past few days i''ve been having a recurring problem of dodgy black lines criss crossing around parts that are ment to be shaded here is the source that matters. I''d be very thankful for any help. float Height(BYTE *pHeightMap, int X, int Y) { int x = X; int y = Y; if(!pHeightMap) return 0; return fHeightMul*(float)pHeightMap[x + (y * MAP_SIZE)]; } void SetupLightmap(BYTE pHeightMap[]) { for(int y=0; y

Topic Locked

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

Sign in to reply to this topic.