Im not going to download the files, shouldnt be necessairy, however, do u have any dynamic light sources or do u use the sun feature? If not, it's no wonder that you dont see any effect.
Last edited by the_clown; 05/01/1108:17.
Re: Normal Mapping without shader?!
[Re: the_clown]
#369067 05/01/1109:2605/01/1109:26
Some hints: - Increase light range. - Press [F11] twice at runtime to display blocks without their textures (you will see only their normal maps then). Maybe the effect is already active but you somehow cannot see it, f.i. because of bad normal maps.
"Falls das Resultat nicht einfach nur dermassen gut aussieht, sollten Sie nochmal von vorn anfangen..." - Manual
I'm not really sure what I did, but if I run my level in WED the shader is used. But if I load my level in SED or Delphi (SDK) then there's no shader visible (?!)
Maybe because of the command line WED uses per default:
testlevel.c -nx 30
Maybe "-nx 30" does something important? What does "-nx 30" mean and where can I read about the command line options?
Re: Normal Mapping without shader?!
[Re: Cjreek]
#369162 05/02/1110:2105/02/1110:21
...and where can I read about the command line options?
you can read about that in the manual. Press Ctrl + F for searching. Search for Engine Options. Klick on Engine Options and scroll down to Command line options. Voila
Re: Normal Mapping without shader?!
[Re: 3run]
#369164 05/02/1110:3005/02/1110:30
OK, but does someone know why normal mapping is only visible if I run my level in WED (Run Level) but not if I run my script and load the level via load_level?
Screenshots:
Script:
Code:
function main()
{
level_load("TestLevel.wmb");
}
WED:
Last edited by Cjreek; 05/02/1110:36.
Re: Normal Mapping without shader?!
[Re: Cjreek]
#369165 05/02/1111:0005/02/1111:00