Hi all
Would it be possible to use .roq videos as Radiant textures? Kind of like the water texture, but instead of deforming the texture, somehow play a video on it. I've been searching and apparently it's possible in some Q3-based games like Star Wars: Jedi Knight, but I'm not so sure about cod2 (although it's based in q3). As I read it has something to do with shaders, is it possible to implement such custom shaders like this I post below in cod2? If so, know any good resources I can take a look on how to do it? Would appreciate it
P.d. I saw there are shaders in the materials folder, but how did they make the actual material file that is used in radiant and is "linked" to the shader which animates it? I see no option in asset manager for that (I mean, I can make the texture but how to link a custom, or even a stock shader?)
Thanks in advance
(source: https://jkhub.org/forums/topic/10458-video-texture/)PHP Code:
textures/GPChannelsmap/video
{
qer_editorimage textures/GPChannelsmap/video
q3map_nolightmap
{
videoMap video/openinglogos
}
{
videoMap video/openinglogos
alphagen const 0.25
blendFunc GL_SRC_ALPHA GL_ONE
glow
}
}