This topic is now archived and is closed to further replies.


Hardware Multi-Texturing

Recommended Posts

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

Share this post

Link to post
Share on other sites