Gamestudio Links
Zorro Links
Newest Posts
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
1 registered members (AndrewAMD), 1,519 guests, and 8 spiders.
Key: Admin, Global Mod, Mod
Newest Members
AemStones, LucasJoshua, Baklazhan, Hanky27, firatv
19058 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
problem with water effeckt... #285465
08/18/09 17:01
08/18/09 17:01
Joined: Jul 2009
Posts: 150
B
Blackchuck Offline OP
Member
Blackchuck  Offline OP
Member
B

Joined: Jul 2009
Posts: 150
Whats wrong with this script?;

__________________________________________________________________

matrix matMtl;

texture mtlSkin1;
texture mtlSkin2;

technique goodwater
{
pass p0
{
AlphaBlendEnable=false;
Zenable = True;
ZwriteEnable = True;

BlendOp=Add;
Lighting=True;

Texture[0] = <mtlSkin1>;
Texture[1] = <mtlSkin2>;

magFilter[0] = linear;
minFilter[0] = linear;
mipFilter[0] = linear;

COLOROP[0] = BumpEnvMap;
COLORARG1[0] = Texture;
COLORARG2[0] = Current;

TexCoordIndex[0] = 1;
TextureTransformFlags[0] = Count2;
TextureTransform[0] = <matMtl>;


magFilter[1] = Linear;
minFilter[1] = Linear;
mipFilter[1] = Linear;

AddressU[1] = Clamp;
AddressV[1] = Clamp;

ColorOp[1] = Modulate;
ColorArg1[1] = Texture;
ColorArg2[1] = Current;

texcoordindex[1] = cameraspaceposition | 1;
TextureTransformFlags[1] = count3 | projected;
TextureTransform[1] = {
0.8, 0.0, 0.0, 0.0,
0.0, 1.0, 0.0, 0.0,
0.0, 0.0, 1.0, 0.0,
0.0, 0.0, 0.0, 1.0
};
}
}

__________________________________________________________________

I know, I`m not reely good with shaders and stuff like that...


I have know Gamestudio/A7 Commercial Edition 7.84
Re: problem with water effeckt... [Re: Blackchuck] #285695
08/19/09 18:09
08/19/09 18:09
Joined: Aug 2005
Posts: 512
Bayern
Schmerzmittel Offline
User
Schmerzmittel  Offline
User

Joined: Aug 2005
Posts: 512
Bayern
You should explain, what exactly your problem is.


A7 Com V7.80
Re: problem with water effeckt... [Re: Schmerzmittel] #285815
08/20/09 11:00
08/20/09 11:00
Joined: Jul 2009
Posts: 150
B
Blackchuck Offline OP
Member
Blackchuck  Offline OP
Member
B

Joined: Jul 2009
Posts: 150
I added that fx script to my model and as I runned my level, an warning showed up "error in water.fx"
I meen were is there an error???


I have know Gamestudio/A7 Commercial Edition 7.84
Re: problem with water effeckt... [Re: Blackchuck] #285972
08/21/09 20:49
08/21/09 20:49
Joined: Aug 2005
Posts: 512
Bayern
Schmerzmittel Offline
User
Schmerzmittel  Offline
User

Joined: Aug 2005
Posts: 512
Bayern
Im not a shaderprogrammer, so i dont know whats false. But you could use the watershader that come with GS. That one works great for me.


A7 Com V7.80
Re: problem with water effeckt... [Re: Schmerzmittel] #286782
08/27/09 11:29
08/27/09 11:29
Joined: Jul 2009
Posts: 150
B
Blackchuck Offline OP
Member
Blackchuck  Offline OP
Member
B

Joined: Jul 2009
Posts: 150
now it almost work, I just must yoused a mdl...

But now my water has no coler, it`s all just grey cry

Last edited by Blackchuck; 08/27/09 11:42.

I have know Gamestudio/A7 Commercial Edition 7.84
Re: problem with water effeckt... [Re: Blackchuck] #286879
08/27/09 22:29
08/27/09 22:29
Joined: Aug 2007
Posts: 1,922
Schweiz
Widi Offline
Serious User
Widi  Offline
Serious User

Joined: Aug 2007
Posts: 1,922
Schweiz
Shaders are only for commercial and pro...

Re: problem with water effeckt... [Re: Widi] #286889
08/28/09 02:58
08/28/09 02:58
Joined: Oct 2005
Posts: 4,771
Bay City, MI
lostclimate Offline
Expert
lostclimate  Offline
Expert

Joined: Oct 2005
Posts: 4,771
Bay City, MI
you can use ffp in extra too to get water.

Re: problem with water effeckt... [Re: lostclimate] #286943
08/28/09 13:27
08/28/09 13:27
Joined: Jul 2009
Posts: 150
B
Blackchuck Offline OP
Member
Blackchuck  Offline OP
Member
B

Joined: Jul 2009
Posts: 150
But I have pro!!!


I have know Gamestudio/A7 Commercial Edition 7.84
Re: problem with water effeckt... [Re: Blackchuck] #286950
08/28/09 14:31
08/28/09 14:31
Joined: Aug 2007
Posts: 1,922
Schweiz
Widi Offline
Serious User
Widi  Offline
Serious User

Joined: Aug 2007
Posts: 1,922
Schweiz
Witch version?

Re: problem with water effeckt... [Re: Widi] #287002
08/28/09 20:34
08/28/09 20:34
Joined: Jul 2009
Posts: 150
B
Blackchuck Offline OP
Member
Blackchuck  Offline OP
Member
B

Joined: Jul 2009
Posts: 150
7.06

The normalshader mapping and stuff like that worked perfectly

Last edited by Blackchuck; 08/28/09 20:35.

I have know Gamestudio/A7 Commercial Edition 7.84

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