Jump to content

View more

Image of the Day

Inventory ! Va falloir trouver une autre couleur pour le cadre D: #AzTroScreenshot #screenshotsaturday https://t.co/PvxhGL7cOH
IOTD | Top Screenshots

The latest, straight to your Inbox.

Subscribe to GameDev.net Direct to receive the latest updates and exclusive content.


Sign up now

Hardware Multi-Texturing

4: Adsense

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   

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




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.