Previous Blog Next Blog
Prev/Next Blog
by date

TGE Bump mapping - first screens!

TGE Bump mapping - first screens!
Name:Koushik 
Date Posted:Mar 25, 2008
Rating:4.8 out of 5
Public:YES
Comments:YES
RSS Feed:GarageGames Blog feedor Subscribe with .
Profile Page:View profile page for Koushik

Blog post
As I had mentioned in my earlier post, I have been working with getting shaders onto DTS objects... once that was done, it was absolutely essential to get bump-mapping working, for that is one of the main reasons I started working on this.

Anyway, I have some images and a video to show-off in tis edition of "in-your-face shininess"... take it away folks!

Mandatory pics!








Even-more-mandatory video

Like they say, a movie speaks louder than a thousand pictures! (er... they actually say that, right?) You really should see this one, it shows off the light-effects better.

Bump mapping video

Please remember that this is still WIP. Most people think that getting bump-maps from the MK is straight forward, because the MK does come with a parallax-mapping shader. However, the way TGE 1.5 handles lighting on DTS objects is different from how it handles DIFs. You'll need to call the openGL lights in the shader, as the dynamic lights are stored in there. This was what I did to get per-pixel lighting to work, as outlined in my previous entry.

For the record, the normal maps for Kork (good 'ole loyal Korkie) and the crossbow were generated using a nifty little program called CrazyBump. I've generated some AO maps and some spec maps as well, but haven't used them yet. Definitely work for the future :)

Let me know what you think of it!

Recent Blog Posts
List:09/21/08 - Shaders galore!
08/05/08 - Major announcements!
06/16/08 - ...And the sun shines again!!
04/26/08 - TGE fur-rendering!
04/08/08 - TGE normalmapping take 2 (image heavy)
03/25/08 - TGE Bump mapping - first screens!
03/10/08 - Shaders and Shiny pictures!!

Submit ResourceSubmit your own resources!

T Squared (Thanhda Tie)   (Mar 25, 2008 at 01:50 GMT)
Looks great. what is your frame rate?

Ryan Jaeger   (Mar 25, 2008 at 02:04 GMT)
Is this just bump mapping or dot3 bump mapping? (normal mapping)
I really can't tell because the scene and character are so dark and contrasted.

Koushik   (Mar 25, 2008 at 02:54 GMT)
@ T-Squared:

I'm running an onboard GeForce 6150FX integrated with an Athlon Dual processor on a friend's system (I have a GeForce2MX... lol), at 2.5 GHz. At 640 by 480, 32-bit color, I get around 35-40 fps quite easily. I suppose I could increase that a bit by increasing the alloted memory on the GPU (the card uses shared-memory). With only the MK built-in, I'd get around 40 fps, so not much of a difference.


@Ryan:

By bump-mapping, I presume you're referring to emboss bump-mapping? That is kinda old right now... in fact it could be done even without a shader call, by just using multitexturing and a cube-map for normalization. I suppose that would work even on cards that don't support high-level shaders, but can handle multitexturing. (I also think that TGE had some of this built-in, if you look through the DTS-SDK, you'll find references to a bump-map, though it was not implemented). This one is normal mapping. I've used the terms interchangeably though.

As for the darkness and high contrast, it was meant show off the bumpy effect. I generated normal maps from the stock TGE character texture, so the bumpiness was marred by the texture. I thought by increasing the disparity between the dark areas and the specular highlights, the effect would look more pronounced... like I said, its still WIP though...

Ryan Jaeger   (Mar 25, 2008 at 03:08 GMT)
Yeap it's old. It is still used for the terrain bump map for TGE 1.5.2 terrain though. I don't like to use it however, because it tends to change the whole color of the terrain when you view it in certain directions, and normal in others... So I just stick with detail images.

Try creating a normal w/o enhancing the contrast and take some screenshots on a well lit* map.
Play around with 2 different color lights with subject just at the edge of the light sphere and see what you get.
Edited on Mar 25, 2008 10:39 GMT

Jason Gossiaux   (Mar 25, 2008 at 06:05 GMT)
This is pretty darn neat stuff. I wish I could offer more then just thanks and appreciation, but if this ever goes live as a resource you'll have lots of it from me :P

Daniel Buckmaster   (Mar 25, 2008 at 07:39 GMT)   Resource Rating: 5
Pretty freaking awesome. Definately WIP, but a WIP is far better than nothing. I reckon if you put a price tag on this, even $1, you'd make a killing :P. (Don't lynch me! You were all thinking it!)

Cory Anderson   (Mar 25, 2008 at 15:49 GMT)   Resource Rating: 5
This is an amazing innovation to the engine. Congratulations! Even while this is a WIP, it looks outstanding. A few tweaks here and there could really make this sellable (I agree with Daniel).

Koushik   (Apr 06, 2008 at 06:22 GMT)
Ok... big update coming up folks... embrace yourselves!!

You must be a member and be logged in to either append comments or rate this resource.