Thank you for your answer . :)
I fixed it as what you teached me. then, I tryed to make the Texture to fit
the Terrain ,so i fixed Arras's code as follows ,but it seemed no use...
CTexture = driver->addTexture(core::dimension2d<s32>(tw, th), "colortexture", video::ECF_A8R8G8B8);
driver ...
Search found 4 matches
- Sat Feb 21, 2009 6:48 pm
- Forum: Beginners Help
- Topic: Need help, splatting with Arras's Title terrain
- Replies: 2
- Views: 536
- Sat Feb 21, 2009 5:56 pm
- Forum: Project Announcements
- Topic: Some environment shaders...
- Replies: 9
- Views: 4090
- Mon Feb 16, 2009 9:08 am
- Forum: Beginners Help
- Topic: Need help, splatting with Arras's Title terrain
- Replies: 2
- Views: 536
Need help, splatting with Arras's Title terrain
For the reason that I'm a newb in IRR and shaders,there're many difficulties confused me when I'm using BlindSide's Shader :
sampler2D coverage; //coverage
sampler2D lightmap; //lightmap
sampler2D splat1;
sampler2D splat2;
// Pixel shader output structure
struct PS_OUTPUT
{
float4 Color ...
sampler2D coverage; //coverage
sampler2D lightmap; //lightmap
sampler2D splat1;
sampler2D splat2;
// Pixel shader output structure
struct PS_OUTPUT
{
float4 Color ...
- Thu Feb 12, 2009 6:01 am
- Forum: Beginners Help
- Topic: Need help,using Arras' tiled terrain scene node
- Replies: 1
- Views: 443
Need help,using Arras' tiled terrain scene node
Hello,
I'm new to Irrlicht and playing with Arras' tiled terrain example,
I can hack and compliy it with Irrlicht 1.4.2 successful.
But still it dosen't render correctly,and the screen is shown as follows...
it looks really a wierd result :oops:
http://img502.imageshack.us/img502/9573 ...
I'm new to Irrlicht and playing with Arras' tiled terrain example,
I can hack and compliy it with Irrlicht 1.4.2 successful.
But still it dosen't render correctly,and the screen is shown as follows...
it looks really a wierd result :oops:
http://img502.imageshack.us/img502/9573 ...
[/list]