Gamestudio Links
Zorro Links
Newest Posts
Executing Trades on Next Bar Open
by vicknick. 06/13/24 08:51
Zorro Beta 2.61: PyTorch
by jcl. 06/10/24 14:42
New FXCM FIX Plugin
by flink. 06/04/24 07:30
AlpacaZorroPlugin v1.3.0 Released
by kzhao. 05/22/24 13:41
Free Live Data for Zorro with Paper Trading?
by AbrahamR. 05/18/24 13:28
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
0 registered members (), 1,251 guests, and 5 spiders.
Key: Admin, Global Mod, Mod
Newest Members
AemStones, LucasJoshua, Baklazhan, Hanky27, firatv
19059 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Page 2 of 4 1 2 3 4
Re: Shader Effect questions [Re: jcl] #151965
09/05/07 09:08
09/05/07 09:08
Joined: Aug 2005
Posts: 1,558
HK
V
vlau Offline OP
Serious User
vlau  Offline OP
Serious User
V

Joined: Aug 2005
Posts: 1,558
HK
It's a six-sided sky cube. I'll post some screenshots
later when I get home. Thanks anyway.

Re: Shader Effect questions [Re: vlau] #151966
09/05/07 15:38
09/05/07 15:38
Joined: Aug 2005
Posts: 1,558
HK
V
vlau Offline OP
Serious User
vlau  Offline OP
Serious User
V

Joined: Aug 2005
Posts: 1,558
HK
Here is the hollow cube added in WED:


The water didn't reflect my skybox texture correctly:


Re: Shader Effect questions [Re: vlau] #151967
09/05/07 15:52
09/05/07 15:52
Joined: Jul 2000
Posts: 27,987
Frankfurt
jcl Offline

Chief Engineer
jcl  Offline

Chief Engineer

Joined: Jul 2000
Posts: 27,987
Frankfurt
This does not look like a sky cube. A sky cube texture has 6 sides and yours has two, at most.

You can find in the manual an explanation what a sky cube is and how to create a sky for your level.

Re: Shader Effect questions [Re: jcl] #151968
09/05/07 16:37
09/05/07 16:37
Joined: Aug 2005
Posts: 1,558
HK
V
vlau Offline OP
Serious User
vlau  Offline OP
Serious User
V

Joined: Aug 2005
Posts: 1,558
HK
This is my sky texture : "SkyCubeMorning1+6.tga" 3072 x 512


Here is my sky definition :
sky mySky
{
layer = 2;
type = "SkyCubeMorning1+6.tga";
flags = CUBE | VISIBLE;
}

and the result is shown above. I've export the sky_gorge from
standard.wad and compare with my image file, they are the same
size and in same order.

Re: Shader Effect questions [Re: vlau] #151969
09/05/07 17:06
09/05/07 17:06
Joined: Sep 2003
Posts: 929
Spirit Offline

Moderator
Spirit  Offline

Moderator

Joined: Sep 2003
Posts: 929
Vlau you still dont have a sky cube on your sky box, one sees this from your WED screenshot.

First you must add the sky image to your WAD file or to a texture directory until it appears under "Textures". Then select the sky box and click on the sky texture and voila the texture is attached to the sky box. Your "sky mySky" what you have in your script is not needed and wont work anyway with Lite-C.

Hope this helps.

Re: Shader Effect questions [Re: Spirit] #151970
09/05/07 17:23
09/05/07 17:23
Joined: Aug 2005
Posts: 1,558
HK
V
vlau Offline OP
Serious User
vlau  Offline OP
Serious User
V

Joined: Aug 2005
Posts: 1,558
HK
Hi Spirit, thanks for the hints, it works now.
I think it should be clear to state that both
in the manual and in the mtlFX.wdl.

Thanks again.

Re: Shader Effect questions [Re: jcl] #151971
09/06/07 18:42
09/06/07 18:42
Joined: Aug 2007
Posts: 17
S
sCKan Offline
Newbie
sCKan  Offline
Newbie
S

Joined: Aug 2007
Posts: 17
HELP ME PLEASE!!!!!!!!!!!

how can i apply shadows on blocks with normalMap shaded??

when i use a shader effect like bumpmap.fx or parallax.fx on blocks the materials looks very nice but shadows disappear why?????


Web Master
Re: Shader Effect questions [Re: jcl] #151972
09/06/07 18:46
09/06/07 18:46
Joined: Aug 2007
Posts: 17
S
sCKan Offline
Newbie
sCKan  Offline
Newbie
S

Joined: Aug 2007
Posts: 17
HELP ME PLEASE!!!!!!!!!!!

how can i apply shadows on blocks with normalMap shaded??

when i use a shader effect like bumpmap.fx or parallax.fx on blocks the materials looks very nice but shadows disappear why?????


Web Master
Re: Shader Effect questions [Re: sCKan] #151973
09/06/07 18:51
09/06/07 18:51
Joined: Jan 2007
Posts: 1,619
Germany
Scorpion Offline
Serious User
Scorpion  Offline
Serious User

Joined: Jan 2007
Posts: 1,619
Germany
becasue the shadow map is not used in the shader...and in genreral....don't use shaders on your level-geometry, its so damned slow X/

Re: Shader Effect questions [Re: Scorpion] #151974
09/06/07 19:00
09/06/07 19:00
Joined: Aug 2007
Posts: 17
S
sCKan Offline
Newbie
sCKan  Offline
Newbie
S

Joined: Aug 2007
Posts: 17
OK THANKS
but in http://www.coniserver.net/wiki/index.php/Simple_HLSL_Shader_Tutorial

the shader tutorial shows how to apply a simple shader on block and it has shadow, it is very interesting because it means that blocks with shader effects can cast shadows

look the example and they code shadows


Web Master
Page 2 of 4 1 2 3 4

Moderated by  old_bill, Tobias 

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