Results 1 to 10 of 16

Thread: .roq videos as textures

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Private pollo's Avatar
    Join Date
    Jul 2012
    Location
    Spain
    Posts
    116
    Thanks
    93
    Thanked 69 Times in 35 Posts

    .roq videos as textures

    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

    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
        
    }

    (source: https://jkhub.org/forums/topic/10458-video-texture/)
    Last edited by pollo; 25th July 2020 at 17:53.

  2. The Following 2 Users Say Thank You to pollo For This Useful Post:

    iBuddie (27th July 2020),kung foo man (27th July 2020)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •