terain editor... water question
by Very Interactive Person · in Torque Game Engine · 08/19/2001 (8:28 am) · 10 replies
I've been trying around adding a new waterblock in a map.. everything seems to work, except for texturing. All i get is white water. What am i doing wrong here? i put the path to the texture correctly in the specifics of the water block. Anyone with similar probs? can someone tell me what i am doin wrong here?
#2
Phil.
08/19/2001 (10:00 am)
Just got the same thing actually.. tried putting f.png into the water instead of water.png and it didnt change. Wonder why.Phil.
#3
08/19/2001 (1:50 pm)
relight and save wont do the job.. i reload and my white block is still there. I also cant change the texture of and existing water block. Strange because the liquid textures are in the same folder
#4
08/19/2001 (1:53 pm)
You may want to look at the .mis file and make sure that the path to the image was saved correctly
#5
08/19/2001 (3:11 pm)
Nope.. still stuck here... does it actually work for someone? or am i the only one?
#6
I haven't tried creating a water area and texturing it yet though - it may have a different result.
08/19/2001 (6:33 pm)
I was able to change the water texture in the Waterworld example. I initially just renamed a texture and got it to work. But it has to be a png file and the size and color density has to be correct. The firsat time I tried a jpg and it didn't work. Later I changed the path to a different texture and that worked as well.I haven't tried creating a water area and texturing it yet though - it may have a different result.
#7
08/19/2001 (10:00 pm)
Does your water texture have an alpha channel? The water render code expects an alpha channel and it won't display correctly if it's not there.
#8
For now i just start with the maps that do work for building my own maps... so this problem is solved for me.
08/21/2001 (4:08 am)
Problem isn't alpha channel.... dont think there's a alph channel needed. Its that map! ... i can change and load water textures in all other maps , just not that one. Must be the texture set or some other specs I dont know about. For now i just start with the maps that do work for building my own maps... so this problem is solved for me.
#9
I'm having the exact same problem.
I started with Scorched Planet, removed everything except the sky and terrain. Then I went into the terrain editor and messed with it for a while until I had a general shape I liked.
Then I went back to the world editor and added a Water Shape. Relight, save, reload, water doesn't show up.
So I went to the .mis file and saw that there was no texture assigned to it. I added a ~\water\water texture (same as was in Scorched Planet originally) and re-ran.
Still no luck.
I don't see anyplace in the editor to set the water texture. Am I missing something?
08/26/2001 (8:00 am)
Anyone solve this?I'm having the exact same problem.
I started with Scorched Planet, removed everything except the sky and terrain. Then I went into the terrain editor and messed with it for a while until I had a general shape I liked.
Then I went back to the world editor and added a Water Shape. Relight, save, reload, water doesn't show up.
So I went to the .mis file and saw that there was no texture assigned to it. I added a ~\water\water texture (same as was in Scorched Planet originally) and re-ran.
Still no luck.
I don't see anyplace in the editor to set the water texture. Am I missing something?
#10
I looked at Scorched Planet's water in the Inspector and saw that it was RiverWater (mine was OceanWater). I changed that, and also added an environmental map.
Relight-save-reload and this now works.
I'll try to narrow down which of the two changes allowed it to work =)
*edit*
Ok, the environmental texture was what was causing the whiteness. Without that applied, the water is white. With it, the water has a visible surface.
08/26/2001 (8:45 am)
Ok, after playing around with it some more, I see some things that may be causing it.I looked at Scorched Planet's water in the Inspector and saw that it was RiverWater (mine was OceanWater). I changed that, and also added an environmental map.
Relight-save-reload and this now works.
I'll try to narrow down which of the two changes allowed it to work =)
*edit*
Ok, the environmental texture was what was causing the whiteness. Without that applied, the water is white. With it, the water has a visible surface.
Torque Owner Harold "LabRat" Brown