Game Development Community

dev|Pro Game Development Curriculum

TGE Patch: Terrain Bump Mapping

by Tim Gift · 05/12/2003 (9:36 am) · 85 comments

Download Code File

[Notes from Chris]
...
Also, one thing that should be noted is that in putting in BumpTexture and InvertedBumpTexture texture types into gTexManager, both BumpTexture and InvertedBumpTexture both use trilinear filtering only because bilinear looks horrible. You can really see a sharp contrast between mip levels.

And, the bump texture I provided is detail1.png with a contrast filter on it using MS Photo Editor, and I noticed as I zoomed in that there are seems long 1 side. So, it tiles perfectly in one direction, but not the other. But, you can't tell unless you zoom in. So it may need to be replaced with an actual bump texture example.
Page«First 1 2 3 4 5 Next»
#81
07/18/2003 (12:18 am)
I added this resource, and I must say, great work!... but, doesn't seem to do exactly what I want. Would it be possible to scale the bumpmap so it fits the detail texture? Right now the scale of the bumpmap is a lot smaller then the detail texture, wich results in adding detail to the detail texture,but I just would like to bumpmap the detail texture.
#82
07/18/2003 (12:48 pm)
Yes, check your terrain block parameters under misc.
#84
07/31/2004 (5:23 am)
This was included in the HEAD code last year. It is currently enabled in the Starter.FPS demo.

No screenshots necessary. ;)
Page«First 1 2 3 4 5 Next»