๐ŸŽจ Material Setup - Jon1969Edwards/VlcMedia_UnrealEngine GitHub Wiki

๐ŸŽจ Material Setup

This guide will walk you through creating a video-compatible material using the VlcMedia Plugin for Unreal Engine.

๐Ÿงฑ Goal

Create a dynamic material that can display streamed or local video using the plugin's Media Texture.


๐Ÿงฉ Material Graph Example

Material Graph

๐Ÿ“ฆ Required Nodes

  • TexCoord
  • CustomRotator
  • Texture Sample (linked to your Media Texture)
  • Multiply (used for brightness/intensity)
  • Material Output (connect to Emissive Color)

Use a Scalar Parameter like Intensity for brightness control.


โš™๏ธ Material Details Settings

Material Settings

Property Value
Material Domain Surface
Blend Mode Opaque
Shading Model Unlit
Cast Ray Traced Shadows โœ… Enabled
Use Material Attributes โŒ Disabled
Lighting Mode Volumetric NonDirectional
Apply Fogging โœ… Optional

๐Ÿงช Tips

  • Make sure the material uses a Media Texture that is set dynamically in your Blueprint.
  • If this is used on a mesh (like a TV), connect your logic to the Emissive Color pin for proper display.
  • Use a Dynamic Material Instance in your Blueprint to assign the video texture and control parameters like intensity.

๐Ÿ’ก You can now assign this material to any static or skeletal mesh and play videos using the Media Player or stream dynamically.

โžก๏ธ Continue to Troubleshooting