Archived

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

Hardware Multi-Texturing

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

If you intended to correct an error in the post then please contact us.

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