Jump to content

Video texture


Go to solution Solved by RebelChum,

Recommended Posts

Posted

Is this possible to add a video (like roq)

to my map as a texture?

There should be a shader stage for this, you should look for that in the q3a shader manual.

  • Solution
Posted

Is this possible to add a video (like roq)

to my map as a texture?

 

This is definitely possible! The way to do this is via shaders.

 

Below is an example shader. I don't know your texture folder path so I had to guess. :P 

 

If I didn't mess anything up, this should be a texture you can put in your map that will play the opening logos .roq. Obviously replace the paths to link your content.

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
	}
}

GPChannel and Smoo like this

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...