Gamestudio Links
Zorro Links
Newest Posts
Help with plotting multiple ZigZag
by degenerate_762. 04/30/24 23:23
M1 Oversampling
by 11honza11. 04/30/24 08:16
Trading Journey
by howardR. 04/28/24 09:55
Zorro Trader GPT
by TipmyPip. 04/27/24 13:50
Data from CSV not parsed correctly
by jcl. 04/26/24 11:18
Why Zorro supports up to 72 cores?
by jcl. 04/26/24 11:09
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
3 registered members (Quad, VoroneTZ, 1 invisible), 862 guests, and 3 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 1 of 2 1 2
No sun on normalmap #210965
06/14/08 07:41
06/14/08 07:41
Joined: Aug 2006
Posts: 128
Papua New Guinea
I
Impaler Offline OP
Member
Impaler  Offline OP
Member
I

Joined: Aug 2006
Posts: 128
Papua New Guinea
I just downloaded the shader listed as "Normalmapping Shader" on the wiki shader list, and it works perfectly with lights, but not the sun. With only a sun, it appears with no shading whatsoever, it actually looks worse than the other models in the level. I know nothing about actual shader programming, so what can be done to fix this?


Murphey's Law:
<< if anything can go wrong, it will >>

(Murphey was an optimist).
Re: No sun on normalmap [Re: Impaler] #210968
06/14/08 08:30
06/14/08 08:30
Joined: Jan 2007
Posts: 651
Germany
R
RedPhoenix Offline
User
RedPhoenix  Offline
User
R

Joined: Jan 2007
Posts: 651
Germany
Yes this shader is only suited for lights, propably thought as an indoor scene shader.
It could be rewritten easily, however why don't you just use another normalmappingshader, eg. one of this ones:
http://files.filefront.com/Massive+3DGS+Shadercollection/;8119277;/fileinfo.html


Last edited by RedPhoenix; 06/14/08 08:30.
Re: No sun on normalmap [Re: RedPhoenix] #210998
06/14/08 11:19
06/14/08 11:19
Joined: Aug 2006
Posts: 128
Papua New Guinea
I
Impaler Offline OP
Member
Impaler  Offline OP
Member
I

Joined: Aug 2006
Posts: 128
Papua New Guinea
Can someone point me to a shader that uses the sun light? I tried the specular normalmapping shader in the projects folder, but it seems to have no light attenuation, and also is very washed out.


Murphey's Law:
<< if anything can go wrong, it will >>

(Murphey was an optimist).
Re: No sun on normalmap [Re: Impaler] #211008
06/14/08 12:19
06/14/08 12:19
Joined: Jan 2007
Posts: 651
Germany
R
RedPhoenix Offline
User
RedPhoenix  Offline
User
R

Joined: Jan 2007
Posts: 651
Germany
Well isn't that exactly what I have done??

Re: No sun on normalmap [Re: Impaler] #211009
06/14/08 12:23
06/14/08 12:23
Joined: May 2005
Posts: 2,713
Lübeck
Slin Offline
Expert
Slin  Offline
Expert

Joined: May 2005
Posts: 2,713
Lübeck

Re: No sun on normalmap [Re: Slin] #211012
06/14/08 12:45
06/14/08 12:45
Joined: Jul 2004
Posts: 1,710
MMike Offline
Serious User
MMike  Offline
Serious User

Joined: Jul 2004
Posts: 1,710
i can do anyshader object shader you want, now that i have mental mil eheh

Re: No sun on normalmap [Re: MMike] #211014
06/14/08 12:48
06/14/08 12:48
Joined: May 2005
Posts: 2,713
Lübeck
Slin Offline
Expert
Slin  Offline
Expert

Joined: May 2005
Posts: 2,713
Lübeck
Originally Posted By: MMike
i can do anyshader object shader you want, now that i have mental mil eheh


Probably, but they are not really optimised and very dirty layouted... I would not really recomment using it if you aren´t able to clean it up.

Re: No sun on normalmap [Re: Slin] #211066
06/14/08 18:47
06/14/08 18:47
Joined: Jul 2004
Posts: 1,710
MMike Offline
Serious User
MMike  Offline
Serious User

Joined: Jul 2004
Posts: 1,710
hum, well thats true, but, i can clea it up, i usauly do it whe i convert it for GS, and remove layouts and stuff, They run fast on my laptop anyway.
i do't see other way of building shaders, since the visual part would be hard.

Re: No sun on normalmap [Re: MMike] #211073
06/14/08 19:08
06/14/08 19:08
Joined: May 2005
Posts: 2,713
Lübeck
Slin Offline
Expert
Slin  Offline
Expert

Joined: May 2005
Posts: 2,713
Lübeck
Quote:

i do't see other way of building shaders, since the visual part would be hard.

Wtf? I just write them down and am very happy with it. I haven´t done it yet, but you can even write them in "realtime" getting the visual feedback directly from within A7. It is much more flexible then any shadereditor and a lot cleaner. In many cases it is even faster then converting other shaders.

Re: No sun on normalmap [Re: Slin] #211088
06/14/08 21:27
06/14/08 21:27
Joined: Jul 2004
Posts: 1,710
MMike Offline
Serious User
MMike  Offline
Serious User

Joined: Jul 2004
Posts: 1,710
ok but i mean,m you know all the formulas to achive falloff, gradient, noise, etc etc, that reflectio refraction, so easly, than a visual editor, like for example mental mil.

But of course it will be clenear and possible to write them down..

Page 1 of 2 1 2

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