Gamestudio Links
Zorro Links
Newest Posts
Data from CSV not parsed correctly
by dr_panther. 05/06/24 18:50
Help with plotting multiple ZigZag
by degenerate_762. 04/30/24 23:23
M1 Oversampling
by 11honza11. 04/30/24 08:16
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
2 registered members (AndrewAMD, dr_panther), 791 guests, and 5 spiders.
Key: Admin, Global Mod, Mod
Newest Members
firatv, wandaluciaia, Mega_Rod, EternallyCurious, howardR
19050 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Page 2 of 3 1 2 3
Re: Normal Mapping - need help [Re: Matt_Aufderheide] #39370
01/18/05 18:34
01/18/05 18:34
Joined: Nov 2004
Posts: 181
Germany, Saarland, Nohfelden
L
Locutus_of_Borg Offline OP
Member
Locutus_of_Borg  Offline OP
Member
L

Joined: Nov 2004
Posts: 181
Germany, Saarland, Nohfelden
When I try to use you shader, than everything is just black and does not react on anything! Not even static lights!

But thanks for helping me!

Re: Normal Mapping - need help [Re: Locutus_of_Borg] #39371
01/18/05 18:39
01/18/05 18:39
Joined: Jan 2004
Posts: 2,062
Hamburg, Germany
slacer Offline
Expert
slacer  Offline
Expert

Joined: Jan 2004
Posts: 2,062
Hamburg, Germany
Maybe your card only supports ps 2.0 and vs 2.0
Geforce FX has no support for 3.0 shaders - at least from what I see in the wiki.

I had to step back to the 2.0 shader support, too.

-- slacer

Re: Normal Mapping - need help [Re: slacer] #39372
01/18/05 22:17
01/18/05 22:17
Joined: Nov 2004
Posts: 181
Germany, Saarland, Nohfelden
L
Locutus_of_Borg Offline OP
Member
Locutus_of_Borg  Offline OP
Member
L

Joined: Nov 2004
Posts: 181
Germany, Saarland, Nohfelden
yes it does only suppoer 1 and 2!
But Mats shader is 3.0!
Now how to get it back to 2.0?

Re: Normal Mapping - need help [Re: Locutus_of_Borg] #39373
01/18/05 23:29
01/18/05 23:29
Joined: Jan 2004
Posts: 2,062
Hamburg, Germany
slacer Offline
Expert
slacer  Offline
Expert

Joined: Jan 2004
Posts: 2,062
Hamburg, Germany
In the same tread is a version 2.0 shader.
Just open the thread (all posts) and do a text search backwards until you find it.

-- slacer

Re: Normal Mapping - need help [Re: slacer] #39374
01/19/05 03:06
01/19/05 03:06
Joined: Oct 2003
Posts: 4,131
M
Matt_Aufderheide Offline
Expert
Matt_Aufderheide  Offline
Expert
M

Joined: Oct 2003
Posts: 4,131
Once the next gamestudio version comes out i will make a new Shader with improvements. For now there should be a 2.0 version somewhere.

Re: Normal Mapping - need help [Re: Matt_Aufderheide] #39375
01/19/05 14:06
01/19/05 14:06
Joined: May 2004
Posts: 157
Earth, for the moment
MASTERJUNOJET Offline
Member
MASTERJUNOJET  Offline
Member

Joined: May 2004
Posts: 157
Earth, for the moment
My GeForce FX 5600 can run the ultimate lighting shader effect perfectly.
v.66.93 driver


Projects: Jet Force Gemini 2
Re: Normal Mapping - need help [Re: MASTERJUNOJET] #39376
01/19/05 20:20
01/19/05 20:20
Joined: Nov 2004
Posts: 181
Germany, Saarland, Nohfelden
L
Locutus_of_Borg Offline OP
Member
Locutus_of_Borg  Offline OP
Member
L

Joined: Nov 2004
Posts: 181
Germany, Saarland, Nohfelden
Well I found the test level with the v2 and v3 shader but it looks like this:


When I use the file: normalmap_level_ps2.0.fx
I can see that it works, but the Textures are all very very small scaled!
when you get close to them, you can see that it works but why are they so small?


I updated my graphik-driver but it did not help!

Re: Normal Mapping - need help [Re: Locutus_of_Borg] #39377
01/19/05 23:12
01/19/05 23:12
Joined: Oct 2002
Posts: 815
NY USA
R
Red Ocktober Offline
Developer
Red Ocktober  Offline
Developer
R

Joined: Oct 2002
Posts: 815
NY USA
congrats on getting em working... it can be a lil confusing/frustrating the very first go round....

... and the second, and the third

but soon it'll come as second nature...



ok, as far as the scaling thing you're experiencing... do this...

open up the shader in a text editor and look for this line of code

Out.Tex = texcoord0.xy*40;

the value at the end may be different than the example i am showing, this is the value i changed to get the textures scaled properly for my particular application.

play with the last value a bit to get the desired effect...



also, the following line affects the light falloff

float LightRange = 0.0001;

again, the last value in my example may be different...


and

float4 gloss = tex2D( sBumpMap, psInStruct.Tex )/32;

will affect the glossiness of the materials appearance...


good luck, i hope this helps a bit

--Mike

Re: Normal Mapping - need help [Re: Red Ocktober] #39378
01/20/05 00:26
01/20/05 00:26
Joined: Nov 2004
Posts: 181
Germany, Saarland, Nohfelden
L
Locutus_of_Borg Offline OP
Member
Locutus_of_Borg  Offline OP
Member
L

Joined: Nov 2004
Posts: 181
Germany, Saarland, Nohfelden
ok, th etestlevel works now!
Next stepm is to add it to my level...

Re: Normal Mapping - need help [Re: Locutus_of_Borg] #39379
01/20/05 01:05
01/20/05 01:05
Joined: Oct 2002
Posts: 815
NY USA
R
Red Ocktober Offline
Developer
Red Ocktober  Offline
Developer
R

Joined: Oct 2002
Posts: 815
NY USA
... your welcome, glad you got it working


--Mike

Page 2 of 3 1 2 3

Moderated by  Blink, Hummel, Superku 

Gamestudio download | chip programmers | Zorro platform | shop | Data Protection Policy

oP group Germany GmbH | Birkenstr. 25-27 | 63549 Ronneburg / Germany | info (at) opgroup.de

Powered by UBB.threads™ PHP Forum Software 7.7.1