Jump to content

Home

How do I create a light emitting texture?


danrobjim

Recommended Posts

Yup, you just hafta make a SHADER!

 

Involves surfaceparms and such... I'd attempt explain it, but frankly I don't know where to start. :) Try looking at some of the "skies" .shader files in your assets files and look at the light-emitting skies to get an idea.

Link to comment
Share on other sites

It's

 

q3map_surfacelight #

 

line in the shader code where # is the number representing light intensity.

 

edit:

 

The simpelest light emitting shader might look like this:

 

textures/mymap/mytexture
{
       q3map_surfacelight 100
       q3map_nolightmap
        {
                 map textures/mymap/mytexture.tga
        }
}

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...