I created tree model and I made leaves tga texture for it (with alpha channel) I got semi-transparent leaves vidable only from one side of the plane!
The leaves are supposed to be fully visable from both sides, with norm and gloss texture. Anyone knows how to make it working properly? Help will be appreciated.
This is a shader:
(all models made are mine)
Edit: It would be also nice to make these leaves animated (moving slightly sideways, as normal leaves should do) anyone knows how to acomplish it?
Edit2:About plant and rock models: Do you think they would fit Xonotic style? Should I create few modular models for Xonotic? What kind?
The leaves are supposed to be fully visable from both sides, with norm and gloss texture. Anyone knows how to make it working properly? Help will be appreciated.
This is a shader:
Code:
textures/map_floating/trees/tree_stem_01
{
qer_editorimage textures/map_floating/trees/tree_stem_01
surfaceparm trans
surfaceparm nonsolid
surfaceparm nodlight
surfaceparm nolightmap
dpglossintensitymod 3
dpglossexponentmod 4
q3map_bouncescale 1.25
polygonOffset
sort 6
{
map textures/map_floating/trees/tree_stem_01
blendFunc filter
rgbgen identity
}
}
Edit: It would be also nice to make these leaves animated (moving slightly sideways, as normal leaves should do) anyone knows how to acomplish it?
Edit2:About plant and rock models: Do you think they would fit Xonotic style? Should I create few modular models for Xonotic? What kind?
My maps:
ErbiumlCrystalCave|Distortion|SilentSiege |Catharsis|Spatium|Imprisoned|Cubes|SpiderCtf
My portfolio: conradjustin.com
ErbiumlCrystalCave|Distortion|SilentSiege |Catharsis|Spatium|Imprisoned|Cubes|SpiderCtf
My portfolio: conradjustin.com