Hi,
I’m using a misc_portal_camera and a misc_portal_surface to have create some security cameras and monitors in my RtCW map, but want to know if it’s possible to convert the shader to produce black and white output. Here’s the shader, can it be amended?
Thanks to Fiesling for the original shader…
textures/delivery/viewscreen
{
qer_editorimage textures/delivery/portal.tga
portal
surfaceparm nolightmap
surfaceparm glass
{
map textures/delivery/portal_ground.tga
blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
depthWrite
}
{
map textures/delivery/scrollbar_portal.tga
blendfunc gl_src_alpha gl_one_minus_src_alpha
alphagen portal 1024
rgbGen identityLighting
tcmod scroll 3 1
}
{
map textures/delivery/portal_noise.tga
rgbGen identity
tcMod scroll 4 4
depthWrite
alphaFunc GE128
}
{
map textures/delivery/screenfx.tga
tcGen environment
blendfunc add
rgbGen identity
}
}
Cheers
DeMoNeye


