Iris2.de
http://iris2.de/forum/

Iris2 large terrain textures using shaders (HLSL)
http://iris2.de/forum/viewtopic.php?f=17&t=1058
Page 1 of 1

Author:  Mystiqq [ Sat Jun 02, 2007 8:23 pm ]
Post subject:  Iris2 large terrain textures using shaders (HLSL)

Experimenting with shaders. Large textures spanning over multiple tiles, scale is changable etc.

Currently theres two textures here, the grass and dirt road. Transitions are not yet done but those wont be a problem.

Image
Image

Minimum shader required is vertex v1.1 and pixel shader model v1.4 (directx 8.1 capable card), since this is a simple "one line" texture coordinate thing...

Author:  SiENcE [ Sat Jun 02, 2007 8:38 pm ]
Post subject: 

Looks nice so far.

What about transitions? Blending using a transitiontexture?

Author:  Mystiqq [ Sun Jun 03, 2007 8:07 am ]
Post subject: 

Yea, probably using black and white texture to do the blending. Basically have the shader take the two (?) ground textures and the b&w blending texture and combine them in the pixel shader. This also means the shader itself is reuseable for any material/tile.

However, im also considering using a RGB blending texture, at least if theres need to blend "three ways". I recall that there are some tiles that require this, i believe, but fortunately i think these are few and far between.

This still WIP and ill be trying out stuff and learning, but its looking good. :)

Author:  cougar [ Fri Jun 22, 2007 12:55 pm ]
Post subject: 

Nice work btw. Too bad that my GFX-Card is not supporting the 2.0 Shader ^^

Author:  Mystiqq [ Fri Jun 22, 2007 2:21 pm ]
Post subject: 

At this time, im doing all shaders as if they were shader model 2.0. It just makes the job (learning shaders etc) easier when you dont have to deal with the support for different hardware. These blending effects WILL work on lesser shader models, have to sort that out later along with the support for OpenGL.

For now, ill be working on the "enviroment shaders" like the terrain, shadows or such.

Author:  cougar [ Sat Jun 23, 2007 3:57 pm ]
Post subject: 

Ah no problem. I'll try it on my desktop pc then ^^

Page 1 of 1 All times are UTC
Powered by phpBB® Forum Software © phpBB Group
http://www.phpbb.com/