Jump to content

  • Log In with Google      Sign In   
  • Create Account

Hardware Multi-Texturing


Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.

  • You cannot reply to this topic
No replies to this topic

#1 stevjj03   Members   -  Reputation: 122

Like
Likes
Like

Posted 13 December 2001 - 10:44 PM

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

Sponsor:



Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.



PARTNERS