Search found 10 matches

by Ktrainers
Wed Mar 26, 2008 6:55 pm
Forum: Advanced Help
Topic: Terrain Problem
Replies: 20
Views: 3849

Okay here's what the terrain looks like right now:


Image


Using this method I'm limited to 3 textures on my terrain, but for now I'm pretty happy.
by Ktrainers
Wed Mar 26, 2008 9:32 am
Forum: Advanced Help
Topic: Terrain Problem
Replies: 20
Views: 3849

I fixed my problems BlideSide. Turns out you were right.. there were alot of problems with my vertex shader, including my texture scale. But my terrain comes out nice and detailed now! Thanks for your help and keep me informed of your terrain texturing project!
by Ktrainers
Wed Mar 26, 2008 3:16 am
Forum: Advanced Help
Topic: Terrain Problem
Replies: 20
Views: 3849

Okay here's my vertex shader: float4x4 matViewProjection : ViewProjection; float texScale = 100.0; uniform extern float2 gTexScale; uniform extern float3 gDirToSunW; // Assumed to be unit length. sampler AlphaMap = sampler_state { ADDRESSU = WRAP; ADDRESSV = WRAP; ADDRESSW = WRAP; }; sampler Texture...
by Ktrainers
Wed Mar 26, 2008 2:28 am
Forum: Advanced Help
Topic: Terrain Problem
Replies: 20
Views: 3849

Hmmm.... changing textScale doesn't seem to be affecting anything. Here's what my terrain looks like: http://i284.photobucket.com/albums/ll16/ktrainers/TerrainP.jpg And here are some of the textures I'm using: http://i284.photobucket.com/albums/ll16/ktrainers/dirt.jpg http://i284.photobucket.com/alb...
by Ktrainers
Tue Mar 25, 2008 10:56 pm
Forum: Advanced Help
Topic: Terrain Problem
Replies: 20
Views: 3849

I've been trying to do the texture splatting on terrain using a pixel shader but none of the details in my textures come out. It does use the blend map to determine where the textures are to be placed on the terrain, however the textures lose all of their details. For example, instead of having a di...
by Ktrainers
Tue Mar 25, 2008 8:14 pm
Forum: Everything 2d/3d Graphics
Topic: Terrain Help
Replies: 5
Views: 1628

Okay, so I've written a pixel shader and it seems to work to some degree, but there is still a problem. It does use the blend map to determine where the textures are to be placed on the terrain, however the textures lose all of their details. For example, instead of having a dirt road that has crack...
by Ktrainers
Mon Mar 24, 2008 5:36 am
Forum: Everything 2d/3d Graphics
Topic: Terrain Help
Replies: 5
Views: 1628

Thanks for the help! That would be pretty amazing and very helpful if you could release something like that. I've been reading up on Pixel shaders and I understand how to write them but what I'm confused about is how you interface the compiled pixel shader with the Irrlicht application. That is, how...
by Ktrainers
Mon Mar 24, 2008 1:10 am
Forum: Everything 2d/3d Graphics
Topic: Terrain Help
Replies: 5
Views: 1628

You dont happen to remember what it is or who did it do you?
by Ktrainers
Sun Mar 23, 2008 8:08 pm
Forum: Everything 2d/3d Graphics
Topic: Terrain Help
Replies: 5
Views: 1628

Terrain Help

Can anyone tell me exactly how to read in a blend map to create multi-textured terrain using irrlicht? I created some terrain using the scenemanager->addTerrainSceneNode() method which is nice cause it reads in a heightmap on its own, but it seems like when you make terrain this way you can only str...
by Ktrainers
Sun Mar 23, 2008 5:55 pm
Forum: Beginners Help
Topic: Terrain Blend Map help
Replies: 3
Views: 428

Terrain Blend Map help

Can anyone tell me exactly how to read in a blend map to create multi-textured terrain using irrlicht? I created some terrain using the scenemanager->addTerrainSceneNode() method which is nice cause it reads in a heightmap on its own, but it seems like when you make terrain this way you can only str...