Jump to content

Video texture


Go to solution Solved by RebelChum,

Recommended Posts

  • Solution

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
Link to comment

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