Hello, Mates.
I am trying to place a moon on the sky using the texture sky_dark.
I already place a moon inside map.
After i made a sky_box with moon texture and shader, but both way don’t work.
Anybody knows how to do this task?
Thanks in advance.
Placing a moon on the sky.
[QUOTE=vicpas;396964]Hello, Mates.
I am trying to place a moon on the sky using the texture sky_dark.
I already place a moon inside map.
After i made a sky_box with moon texture and shader, but both way don’t work.
Anybody knows how to do this task?
Thanks in advance.[/QUOTE]
I believe the textures sky_chateau and sky_dam have moons.
I had problems adding it via shader, so I noticed it was better for me to add sun separately. In capuzzo it is a carefully placed brush inside the small skybox, same where the sky terrain is located. Moon or sun does not matter. Sun is a tga with alpha channel. Sky shader has no reference for my actual sun, but I placed the brush in the same angle the sun light is casted from.
textures/capuzzo/sun
{
nomipmaps
nopicmip
{
map textures/capuzzo/sun.tga
blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
rgbGen identity
}
}
In ET I added it via the sky shader.
If I recall, the map kf_box had a moon texture which was separate from the sky texture. Maybe you could use that.