2 registered members (Akow, tomaslolo),
1,536
guests, and 12
spiders. |
Key:
Admin,
Global Mod,
Mod
|
|
|
Re: Terrain Shader
[Re: Nowherebrain]
#272391
06/17/09 20:15
06/17/09 20:15
|
Joined: Jun 2008
Posts: 151 Ukraine
XD1v0
Member
|
Member
Joined: Jun 2008
Posts: 151
Ukraine
|
tile the textures, but clamp the alpha....??? This terrain shader do that you want, in first stage shader draw alpha in terrain coordinates, then in next stage, draw color with transformation coordinates, also you can add this to shader for real alpha clamp AddressU[0] = Clamp; AddressV[0] = Clamp; (see terraintex.fx)
A7 Commercial Celeron 1700, GeForce 5500 FX 256mb, 1 Gb Ram
|
|
|
|