3 registered members (Ayumi, Akow, AndrewAMD),
1,505
guests, and 9
spiders. |
Key:
Admin,
Global Mod,
Mod
|
|
|
Re: [free]Water for all Editions (reflecting)
[Re: Slin]
#154582
09/17/07 18:03
09/17/07 18:03
|
Joined: May 2005
Posts: 2,713 Lübeck
Slin
OP
Expert
|
OP
Expert
Joined: May 2005
Posts: 2,713
Lübeck
|
For everyone having just a black screen, try this changed Shader.wdl. There won´t be any reflection now, but the effect it self should work fine: Code:
bmap waterbump = <waves2.tga>; bmap envspec = <sky.tga>;
function mtl_ffpwater_event();
material mtl_ffpwater { skin1=waterbump; skin2=envspec;
event = mtl_ffpwater_event; effect = "water.fx"; }
function mtl_ffpwater_event() { while(1) { //Lets make it scroll in some direction mtl_ffpwater.skill1 += 0.1*time_step; //Move the water along the x axis with the given speed mtl_ffpwater.skill2 += 0.1*time_step; //Move the water along the y axis with the given speed mtl_ffpwater.matrix31 = floatd(sin(mtl_ffpwater.skill1)*100000,40000); mtl_ffpwater.matrix32 = floatd(cos(mtl_ffpwater.skill2)*100000,40000); wait(1); } }
action Water { mtl_ffpwater.matrix11 = float(100); //Tilefactor of the Bumpmap in x direction mtl_ffpwater.matrix22 = float(100); //Tilefactor of the Bumpmap in y direction
bmap_to_mipmap(mtl_ffpwater.skin1); bmap_to_mipmap(mtl_ffpwater.skin2);
my.material = mtl_ffpwater; }
|
|
|
Re: [free]Water for all Editions (reflecting)
[Re: Slin]
#154583
09/18/07 03:00
09/18/07 03:00
|
Joined: Jan 2006
Posts: 2,157 Connecticut, USA
Blink
Expert
|
Expert
Joined: Jan 2006
Posts: 2,157
Connecticut, USA
|
hello Slin, still doing amazing work i see. it's still a black surface. i exchanged scripts.
My Famous Quotes: "Hip hop is like a virus, infecting everyone and everything around it. Every form of media has some way,shape or form, assimilated hip hop into it." It has also mutated into other strains like, trip hop, house, rap, gangster, and conscious forms. Once you are infected with it, its with you for life."
|
|
|
Re: [free]Water for all Editions (reflecting)
[Re: Mondivirtuali]
#154584
09/19/07 16:04
09/19/07 16:04
|
Joined: Aug 2007
Posts: 165 Germany
jermy
Member
|
Member
Joined: Aug 2007
Posts: 165
Germany
|
what causes those black areas? I took this screen from your published game in the downlad
Last edited by jermy; 09/19/07 16:13.
|
|
|
Re: [free]Water for all Editions (reflecting)
[Re: sPlKe]
#154586
09/19/07 17:55
09/19/07 17:55
|
Joined: Mar 2006
Posts: 2,758 Antwerp,Belgium
frazzle
Expert
|
Expert
Joined: Mar 2006
Posts: 2,758
Antwerp,Belgium
|
Sorry I noticed it so late Slin, this is again one super contribution Cheers Frazzle
Antec® Case Intel® X58 Chipset Intel® i7 975 Quad Core 8 GB RAM DDR3 SSD OCZ®-VERTEX2 3.5 x4 ; HD 600 GB NVIDIA® GeForce GTX 295 Memory 1795GB
|
|
|
Re: [free]Water for all Editions (reflecting)
[Re: jermy]
#154587
09/19/07 19:24
09/19/07 19:24
|
Joined: May 2005
Posts: 2,713 Lübeck
Slin
OP
Expert
|
OP
Expert
Joined: May 2005
Posts: 2,713
Lübeck
|
Quote:
what causes those black areas?
I took this screen from your published game in the downlad
Sorry, I have no idea-.- It looks alright here. Which graficscard do you have? If anyone else has this problem, please tell me
|
|
|
|