Auto Emit Texture
Moderators: MR.D, Moderators
Auto Emit Texture
Hola,
i would like to know how i can do emit texture.
I need to "self-illuminating" some parts of an object for example the neon or other parts.
How can I do this?
thx
i would like to know how i can do emit texture.
I need to "self-illuminating" some parts of an object for example the neon or other parts.
How can I do this?
thx
Re: Auto Emit Texture
Manually. afaik Spring can't cast light from textures, and it certainly wouldn't 'glow'.
- Pressure Line
- Posts: 2283
- Joined: 21 May 2007, 02:09
Re: Auto Emit Texture
s3o textured units can have a sort of glow on them.

hard to see, but the blue part of the engines have a bit of glow to them, but its not like a dynamic light or anything.

hard to see, but the blue part of the engines have a bit of glow to them, but its not like a dynamic light or anything.
Re: Auto Emit Texture
yes it's ok!Pressure Line wrote:s3o textured units can have a sort of glow on them.
hard to see, but the blue part of the engines have a bit of glow to them, but its not like a dynamic light or anything.
how can you do this??
manually ? painting the texture with a light color + gaussian effect??
i did this:

But i would do this

- thesleepless
- Posts: 417
- Joined: 24 Oct 2007, 04:49
Re: Auto Emit Texture
you use the red channel from texture2 to control the self-illumination.
from http://springrts.com/wiki/Units:Textures :
"Red values are glow. The more red in a given pixel, the more glow it will have, overriding the light levels in a scene. A white Texture1 pixel with a totally red Texture2 pixel will always be completely white, no matter what."
from http://springrts.com/wiki/Units:Textures :
"Red values are glow. The more red in a given pixel, the more glow it will have, overriding the light levels in a scene. A white Texture1 pixel with a totally red Texture2 pixel will always be completely white, no matter what."
Re: Auto Emit Texture
someone write us up a glow shader
Re: Auto Emit Texture
can you learn me how create the red alpha channel please?thesleepless wrote:you use the red channel from texture2 to control the self-illumination.
from http://springrts.com/wiki/Units:Textures :
"Red values are glow. The more red in a given pixel, the more glow it will have, overriding the light levels in a scene. A white Texture1 pixel with a totally red Texture2 pixel will always be completely white, no matter what."
so for the texture 1 i use DXTbmp to make texture + alpha ( for colors)
i tryed to use DXTbmp for texture 2 but don't work...
what do you use?
- Pressure Line
- Posts: 2283
- Joined: 21 May 2007, 02:09
Re: Auto Emit Texture
its not a red alpha channel.
on the second texture the green channel is reflectivity, and red is glow. so if you want the blue bits on your rocko to glow, black out everything except the blue bits, then colour them in red.
on the second texture the green channel is reflectivity, and red is glow. so if you want the blue bits on your rocko to glow, black out everything except the blue bits, then colour them in red.
Re: Auto Emit Texture
Like this?:Pressure Line wrote:its not a red alpha channel.
on the second texture the green channel is reflectivity, and red is glow. so if you want the blue bits on your rocko to glow, black out everything except the blue bits, then colour them in red.

Re: Auto Emit Texture
As you said, adding a little gaussian blur will make the effect nicer.
Re: Auto Emit Texture
aah right!!Beherith wrote:As you said, adding a little gaussian blur will make the effect nicer.

so thie evening i will try this. and i will post the result

Re: Auto Emit Texture
TADAAAAdaryl wrote:aah right!!Beherith wrote:As you said, adding a little gaussian blur will make the effect nicer.![]()
so thie evening i will try this. and i will post the result
thx to all!!

Re: Auto Emit Texture
Looks great! Is that a rocko?
Re: Auto Emit Texture
yes, it's a rockoBeherith wrote:Looks great! Is that a rocko?
