Auto Emit Texture

Auto Emit Texture

Share and discuss visual creations and creation practices like texturing, modelling and musing on the meaning of life.

Moderators: MR.D, Moderators

Post Reply
User avatar
daryl
Posts: 200
Joined: 08 Oct 2006, 10:33

Auto Emit Texture

Post by daryl »

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
User avatar
Hobo Joe
Posts: 1001
Joined: 02 Jan 2008, 21:55

Re: Auto Emit Texture

Post by Hobo Joe »

Manually. afaik Spring can't cast light from textures, and it certainly wouldn't 'glow'.
User avatar
Pressure Line
Posts: 2283
Joined: 21 May 2007, 02:09

Re: Auto Emit Texture

Post by Pressure Line »

s3o textured units can have a sort of glow on them.

Image

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.
User avatar
daryl
Posts: 200
Joined: 08 Oct 2006, 10:33

Re: Auto Emit Texture

Post by daryl »

Pressure Line wrote:s3o textured units can have a sort of glow on them.

Image

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.
yes it's ok!
how can you do this??
manually ? painting the texture with a light color + gaussian effect??
i did this:
Image

But i would do this

Image
User avatar
thesleepless
Posts: 417
Joined: 24 Oct 2007, 04:49

Re: Auto Emit Texture

Post by thesleepless »

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."
User avatar
rattle
Damned Developer
Posts: 8278
Joined: 01 Jun 2006, 13:15

Re: Auto Emit Texture

Post by rattle »

someone write us up a glow shader
User avatar
daryl
Posts: 200
Joined: 08 Oct 2006, 10:33

Re: Auto Emit Texture

Post by daryl »

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."
can you learn me how create the red alpha channel please?
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?
User avatar
Pressure Line
Posts: 2283
Joined: 21 May 2007, 02:09

Re: Auto Emit Texture

Post by Pressure Line »

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.
User avatar
daryl
Posts: 200
Joined: 08 Oct 2006, 10:33

Re: Auto Emit Texture

Post by daryl »

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.
Like this?:
Image
User avatar
Pressure Line
Posts: 2283
Joined: 21 May 2007, 02:09

Re: Auto Emit Texture

Post by Pressure Line »

yes
User avatar
Beherith
Posts: 5145
Joined: 26 Oct 2007, 16:21

Re: Auto Emit Texture

Post by Beherith »

As you said, adding a little gaussian blur will make the effect nicer.
User avatar
daryl
Posts: 200
Joined: 08 Oct 2006, 10:33

Re: Auto Emit Texture

Post by daryl »

Beherith wrote:As you said, adding a little gaussian blur will make the effect nicer.
aah right!! :-)
so thie evening i will try this. and i will post the result :-)
User avatar
daryl
Posts: 200
Joined: 08 Oct 2006, 10:33

Re: Auto Emit Texture

Post by daryl »

daryl wrote:
Beherith wrote:As you said, adding a little gaussian blur will make the effect nicer.
aah right!! :-)
so thie evening i will try this. and i will post the result :-)
TADAAAA
thx to all!!

Image
User avatar
Beherith
Posts: 5145
Joined: 26 Oct 2007, 16:21

Re: Auto Emit Texture

Post by Beherith »

Looks great! Is that a rocko?
User avatar
daryl
Posts: 200
Joined: 08 Oct 2006, 10:33

Re: Auto Emit Texture

Post by daryl »

Beherith wrote:Looks great! Is that a rocko?
yes, it's a rocko :-)
Post Reply

Return to “Art & Modelling”