Bumpmapping & advanced lighting


(Justice) #1

Hello all,

I’ve been looking for good maps and stumbled across these two astonishing awesome maps:
Caha Tavern
The Well of Youth

I have three questions whether you guys know how to or have a sweet tutorial:

  • [li]Bumpmapping for specified textures. I saw Caha Tavern has it on various walls which looks so freaking awesome. Now I could ask the maker, but this map is from 2006 and I doubt he’s still around.[/li]http://i54.tinypic.com/126bcap.jpg

    [li]Detailed and advance light compiling. How do I compile it so detailed and shine-through?[/li]http://i56.tinypic.com/2ynphfc.jpg

    [li]Dynamic lightning. I saw The Well of Youth had a malfunctioning lighteffect, as shown in the Utube link below. But is there any good tutorial around?[/li]http://www.youtube.com/watch?v=OsfSFnG0iaM?hd=1

Again, thanks in advance.


(IndyJones) #2

for bumpmapping and good shape of shadow, i think u have to use “lightgrid 1” or something like that… u should search around, but as far as i remember it takes ages to complete compiling (wich is understandable).

dynamic lighting - i don’t know. try decompiling the map thought? did u check readme?


(Loffy) #3

How do I compile it so detailed…

Some help here hopefully:
http://www.splashdamage.com/forums/showthread.php?t=11896


(shagileo) #4

@ dynamic lights:
http://www.splashdamage.com/forums/showthread.php?t=17089&highlight=dynamic+light&page=3

caha tavern is indeed a jewel


(stealth6) #5

[QUOTE=shagileo;280871]@ dynamic lights:
http://www.splashdamage.com/forums/showthread.php?t=17089&highlight=dynamic+light&page=3

caha tavern is indeed a jewel[/QUOTE]

OMG, I’ve been mapping for so long and I didn’t even know it was THAT easy to do that!
Well… still learning :smiley:


(Avoc) #6

Just remember if you wish to add ‘dynamic’ lights and bump mapping: they eat up a lot of hunkmeg and fps.


(shagileo) #7

nom nom nom nom nom

Anyhow, I also believe/remember that Q3map2 creates a new shader file with the dynamic light info in it.
I remember using the feature and while testing, the textures in that particular area were gone. Taking a look in the scripts folder, I found this mysterious shader file called: Q3MAP2_mysupermegaawesomeinternetfamemap.shader (or just: q3map2_mymapname.shader)

I copy pasted its content in the master shader file of my map and then the dynamic light worked like a nom nom fps eating charm (it’s not really that bad, but I guess you don’t want to have your map flooded with flickering lights)

And that’s the way the cookie crumbles


(Justice) #8

Thanks everybody!

But I tried looking up lightgrid and I only got spiritual ****stuff… So if anybody knows how to do bumpmapping I’d be very pleased.


(daz2007) #9

In can do Bump Mapping

This is my Bump Mapped Dynamite i Made

All you need is Gimp and the Normal Map Plugin


http://registry.gimp.org/node/69

These sites are useful
http://www.modwiki.net/wiki/Texturing
http://www.iddevnet.com/doom3/materials.php

textures/alphalabs/a_lfwall21b
{
    qer_editorimage textures/alphalabs/a_lfwall21b
    bumpmap         textures/base_wall/lfwall21_local
    diffusemap      textures/alphalabs/a_lfwall21b
    specularmap     textures/alphalabs/a_lfwall21b_s
}

(MrLego) #10

Detoeni has a small bumpmapping tutorial Here


(Justice) #11

That is exactly what I need! Thanks!


(Mateos) #12

Sorry to “bump” this thread, if I could say it :slight_smile:

I’m trying for the third time to add some bump mapping to my map. I followed this time exactly step by step the Detoeni’s tutorial, and ingame the shader is flat. When I do /r_lightmap 1, there’s few black points on it, when the other stuff is fully white.

The attempts before were on Detoeni’s tut with skipping PS step (I have it now), made the normal texture with CrayBump, and after an other tutorial with a shader a bit different, but ingame no result…

Here are the files: http://www.mediafire.com/?epc12h93jjwtro8

The shader:

textures/1944_nordwind/snow_wall_1
{
	qer_editorimage textures/1944_nordwind/snow_wall_1_editorimage.tga
	q3map_lightmapsamplesize 1x1
	q3map_normalimage textures/1944_nordwind/snow_wall_1_normalmap.tga
	{
		map $lightmap
	}

	{
		map textures/1944_nordwind/snow_wall_1.jpg
		blendFunc GL_DST_COLOR GL_ZERO
	}
}

I think it’s better to post it in this thread instead of my own one or my mapping map one, maybe it could help somebody who will use the search tool before posting.

Haven’t tested the one of Daz though, anyone did?

Edit:
Also, when doing -light -v -super 2, got:
IlluminateRawLightmap = 700
IlluminateVertexes = 185

Is it normal or too much? x)