Game Development Community

Bumps or Detail maps in constructer?

by Dootuz · in Constructor · 04/14/2007 (6:06 pm) · 3 replies

Hi,


I was wondering if you could apply bumps or detail maps to your objects in Construer. I made a level but it looks to plain is there any way I can add them to bring out the life of it, in TGE, the newest one. And if you can how?

Please respond,



Dootuz


EDIT Or TGEA i have them both

#1
04/15/2007 (7:16 pm)
Not 100% positive on how its done but i know for a fact it can be done in TGEA and may or maynot be able in TGE. I know it is the shader scripts for TGEA and i think you have to make a script for the texture you use so it will apply the bump map to it basically here is my guess.

you write a simple shader script that says if texture XX.png is used then apply xx_bump.png as a detail map and anywhere you use XX.png as a texture it applies the detail map. again i got no idea if my guess is correct but i do know it is possible in TGEA

PS. http://www.garagegames.com/index.php?sec=mg&mod=resource&page=view&qid=5512 gives some saple code for detail maps in TGE
#2
04/16/2007 (2:38 am)
Detail mapping is there. You just need to add the mapping to the propertyMap.cs file in your interiors folder. However, if you want really nice stuff, I would recommend doing a search for Modernization Kit. Alex Scarborough has made a very nice free update that gives GSLS Shader support for TGE. It is still in work but it has a ton of really nice stuff in it already.
#3
04/18/2007 (10:56 am)
I think you have to have TSE or TGEA for bumps and stuff.
They are also done after constructor.
Do a search for MATERIALS
Or go here: http://tdn.garagegames.com/wiki/TSE/Materials/Overview
And look at any of your materials.cs files for examples.