View Single Post
Old 10-08-2003, 10:03 AM   #12
7o'nine
Fanboy
 
7o'nine's Avatar
 
Join Date: Mar 2002
Location: Canada
Posts: 555
Default Re: Excelsior shaders?

Have you tried looking at the Ent-E/Intrepid shaders?
<font color="brown">
models/vehicle/enterprise-e/ent-e-dishtoptop
{
qer_editorimage models/vehicle/enterprise-e/ent-e-dishtoptop.tga
{
map models/sky/UI-ent-dome/env_diffused.tga
rgbGen default
tcGen environment
}
{
map models/vehicle/enterprise-e/ent-e-dishtoptop.tga
blendFunc blend
rgbGen default
}
{
map models/vehicle/enterprise-e/ent-e-dishtoptop_glow.tga
blendFunc add
}
} </font>

The Enterprise does produce the results you want, right? If so, you can use it's shader as a base [img]/forums/images/graemlins/smile.gif[/img]
If you ever want to know how to do something, best thing is to look in EF2 for an example, then search in the files to see how it's done.
For example, the glow shader you asked about before. In SP, there are glow shaders used all over the place, like in drull_interior1... so you check that .shader out.. see what they did.. replace the paths to your own, play around with some values, check out commands in the shaderCommands.txt and also in the Shader Manual(at qeradiant.com) and basically try and patch it together to suit your needs [img]/forums/images/graemlins/smile.gif[/img]

Anyway.. there are slight differences between model and map shaders (such as the $lightmap thing mentioned above)

7
7o'nine is offline   Reply With Quote