Some screenshots would probably help us out in assessing what the problem is.Tr3nT wrote:why i get all blue?????
all the surface is blue.......
and it's a bit better only in specific position but the edge i s forever blue.... why?????
Realistic water scene node
I am having some problems.
This is the error message that I am having in the console:
First at all, it doent lowad the dds water. what kind of file is dds?
Then I have this messages :
Hlsl varibable to set not found "view".
And later shows the names of the possible variables to take.
What is it?
Thanks.
This is the error message that I am having in the console:
First at all, it doent lowad the dds water. what kind of file is dds?
Then I have this messages :
Hlsl varibable to set not found "view".
And later shows the names of the possible variables to take.
What is it?
Thanks.
Well, I repeat the problem with more information.
First at all, irrlicht doen't want to load dds file (the one with the water bumb), so I change it for jpg; is that ok?
Second (indifernt to the first problem (loaded or not)), I have the console message that I have said before:
"Hlsl varibable to set not found "view" " and then it gives the names of the variables that are avalable to use "winddirection".. etc.
Third, it is extrange but it has skybox relexion only, and some kind of refraction.
I explain: Terrain, trees, etc other that the skybox is not reflected.
The only way that it gest "reflected" is when I sumerge the object in water so it gives INSTEAD of refraction a reflexion from the above part of the objetc!!! -but it is under water!.
From far away, I can see a terain reflexion but when get closed y dissapaer (no matter which angle).
And Also I have no refraction at all, the terrain behind the water is not seen at all. I have tried setien diferent alpha value for the color and also for the blend factor but don't change this issue.
Some pictures with the problems:
No reflexion from terrain, trees, no refraction, etc.
First at all, irrlicht doen't want to load dds file (the one with the water bumb), so I change it for jpg; is that ok?
Second (indifernt to the first problem (loaded or not)), I have the console message that I have said before:
"Hlsl varibable to set not found "view" " and then it gives the names of the variables that are avalable to use "winddirection".. etc.
Third, it is extrange but it has skybox relexion only, and some kind of refraction.
I explain: Terrain, trees, etc other that the skybox is not reflected.
The only way that it gest "reflected" is when I sumerge the object in water so it gives INSTEAD of refraction a reflexion from the above part of the objetc!!! -but it is under water!.
From far away, I can see a terain reflexion but when get closed y dissapaer (no matter which angle).
And Also I have no refraction at all, the terrain behind the water is not seen at all. I have tried setien diferent alpha value for the color and also for the blend factor but don't change this issue.
Some pictures with the problems:
No reflexion from terrain, trees, no refraction, etc.
-
- Posts: 288
- Joined: Wed Apr 16, 2008 1:45 am
- Contact:
Hey,
I am adding this into my map editor and game but I am having a problem. I adjusted the code to let me make a scene node and add that as the water node instead of just a flat hill node. The issue I have hit is when I add over 4 mesh buffers it becomes a solid blue instead of transparent blue images are below. If anyone has a way to solve this it would be awesome if I find why it happens I'll let you know. Other than that it is amazing, by the way I am using Christian's code for it since the original gave me an error I couldn't fix.
Blue water:
Transparent water:
I am adding this into my map editor and game but I am having a problem. I adjusted the code to let me make a scene node and add that as the water node instead of just a flat hill node. The issue I have hit is when I add over 4 mesh buffers it becomes a solid blue instead of transparent blue images are below. If anyone has a way to solve this it would be awesome if I find why it happens I'll let you know. Other than that it is amazing, by the way I am using Christian's code for it since the original gave me an error I couldn't fix.
Blue water:
Transparent water:
-
- Posts: 168
- Joined: Sun Feb 04, 2007 3:30 pm
- Location: France
No that not a dream Realistic Shader Scene Node in IrrEdit.
And it's now also work with OpenGL !!!!
HERE
Though please add the elvman header for the shader I forgot to make it back, I removed it for naviguate on the file. And I should travel tomorow and I think I will not be back before August so if someone can add wind direction on the IrrEDit stuff I't would be cool.
They are some artifact in IrrEdit and in OpenGl but I don't have the time to know what it's about maybe in IrrEdit it's due to multiple camera ...
Very nice steels i will be using this later...whenever irredit gets a nix version ahhaah. I will use the shader manually though good job
http://wild.deathtouchstudios.com << My gamedev blog
<Programming is a way of life>
If at first you don't succeed press the delete key till you do
<Programming is a way of life>
If at first you don't succeed press the delete key till you do
That is very cool. I have not looked into irrEdit plugin creation myself, so I was unaware you could use shaders, etc inside irrEdit.
ShadowMapping for Irrlicht!: Get it here
Need help? Come on the IRC!: #irrlicht on irc://irc.freenode.net
Need help? Come on the IRC!: #irrlicht on irc://irc.freenode.net
Visual C++ Express does not support developing for MFC and/or ATL. So this may explain why you can't find afxwin.h ( How can I do (
Project homepage: http://fosp.wordpress.com/
Project Forum URL: http://forum.gamedev.vn/index.php?showforum=74
Project Google Group: http://groups.google.com/group/fosproject
Engine Project: http://code.google.com/p/fosengine/
Project Forum URL: http://forum.gamedev.vn/index.php?showforum=74
Project Google Group: http://groups.google.com/group/fosproject
Engine Project: http://code.google.com/p/fosengine/
Sorry, Just comment out the include directive.
But in my ATI Mobilty, water is not water
[/code]
But in my ATI Mobilty, water is not water
Code: Select all
//! Testing water
water = new RealisticWaterSceneNode(
getSceneManager(),
1024.0f,
1024.0f, getVideoDriver()->getTexture("data/waterbump.dds"),
getGraphicDevice()->getTimer()
);
[/code]
Project homepage: http://fosp.wordpress.com/
Project Forum URL: http://forum.gamedev.vn/index.php?showforum=74
Project Google Group: http://groups.google.com/group/fosproject
Engine Project: http://code.google.com/p/fosengine/
Project Forum URL: http://forum.gamedev.vn/index.php?showforum=74
Project Google Group: http://groups.google.com/group/fosproject
Engine Project: http://code.google.com/p/fosengine/
The Card Must be able to support DirectX 9 (Fully) and Support Pixel And Vertex Shader!
These are the ATI Radeon Cards + Mobility that is not compatable:
Also Updating your Device Driver Via ATI's Homepage should work!
These are the ATI Radeon Cards + Mobility that is not compatable:
- Mobility Radeon
Mobility Radeon 7500
Mobility Radeon 9000
Mobility Radeon 9200
Radeon 7000 Series
Radeon 8500 Series | 9200\ 9250 (based on 8500 series)
Also Updating your Device Driver Via ATI's Homepage should work!