Page 1 of 2

normal mapping

Posted: Mon Dec 26, 2011 1:13 am
by KroniK
Hey, Is there a tutorial on how to apply a normal map to a texture in radiant... I have no idea how this is done and it is not explained in the wiki. is this done via the shader? Can you please put the steps in the wiki under the normal map topic?? This has always had me confused so any help is appreciated! Thanks!

Re: normal mapping

Posted: Mon Dec 26, 2011 1:14 am
by Rylius
Nothing to do with the shaders, you just name it the same as the texture and append a _n before the file extension.

Re: normal mapping

Posted: Mon Dec 26, 2011 1:15 am
by KroniK
so just add that on the end and throw it in the textures folder and it does it for you?

Re: normal mapping

Posted: Mon Dec 26, 2011 1:19 am
by Rylius
Yeah

Re: normal mapping

Posted: Mon Dec 26, 2011 1:31 am
by KroniK
ok thats ez! could you still maybe state that in the wiki, it seems like it should be way harder than that (by all other radiant standards :P)

Re: normal mapping

Posted: Mon Dec 26, 2011 6:34 am
by johnnyenglish
It's true, although the wiki covers how to make normal maps, nowhere does it actually explain how to use them lol.

The best source at the moment is this 27s explanation

We'll add a breakdown of this to the wiki ASAP.

Re: normal mapping

Posted: Mon Dec 26, 2011 1:12 pm
by xandaxs
oww, but you need to compile with radbump to achieve good results.
I can't explain it because I can't do it.

Johnny can though :)

Re: normal mapping

Posted: Fri Dec 30, 2011 9:36 pm
by KroniK
wiki edit coming soon??

Re: normal mapping

Posted: Fri Dec 30, 2011 9:39 pm
by Rayne
Radbump switch is more or less optional. In many cases I've noticed i get better results without it. For some reason it tends to change the angle under which the light hits the surface, i think it's cause it works in a way similar to bounce.

Re: normal mapping

Posted: Sat Dec 31, 2011 5:37 am
by johnnyenglish
Del wrote a nice little article CubeMap Probe which explains things nicely.

And also there was that long discussion about normal maps without shine - More about normal maps

And of course, to use a normal map (or bump map) save the image in the same folder as the image but with _n after the name but before the extension. (_b for bump maps).