G'day folks,
I wasn't sure to post this here or under the "Mapping" forum but I guess it's texture related as are "skins".
I have cropped some tufts of grass and they look great in game but I'd much rather them appear as 3D and not 2D.
I have used the "autosprite2" in shaders before without incident but in this map everything is causing me grief. lol
The texture first appears upside down when viewed from one side and the right way up on the other side and as I walk passed it, it rotates on it's Z axis (somersaults) instead of it's Y axis (like a door).
I have copied the shader surface that has worked for me in several maps but it's not acting the same.
I have remade the brushes and patch of these textures to no avail.
I have looked at the default MOHAA sprites script and tried some of that crap too ("spritegen oriented").
This is what has worked for my other maps....
Code:
textures/loop/grass_tuft
{
//qer_editorimage textures/loop/grass_tuft.tga
qer_keyword utility
surfaceparm alphashadow
surfaceparm nonsolid
surfaceparm trans
nopicmip
nomipmaps
deformVertexes autosprite2
cull none
{
map textures/loop/grass_tuft.tga
depthWrite
alphaFunc GE128
nextbundle
map $lightmap
}
}
... but it just gets all screwy in this map.
Any help would be appreciated.
Cheers.