Announcement

Collapse
No announcement yet.

Vehicle lights using meshes and materials?

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Vehicle lights using meshes and materials?

    After reading the thread at https://forums.unrealengine.com/show...le-tail-lights , I tried to use meshes and materials to simulate working vehicle lights but I don't know how to set up the lights in vehicle blueprint. How do I set up meshes and materials instead of spotlights to simulate working vehicle lights?

    #2
    Originally posted by jeffmorris View Post
    After reading the thread at https://forums.unrealengine.com/show...le-tail-lights , I tried to use meshes and materials to simulate working vehicle lights but I don't know how to set up the lights in vehicle blueprint. How do I set up meshes and materials instead of spotlights to simulate working vehicle lights?
    You need to have a material that you can alter at runtime, Dynamic Materials.
    Check this video series:
    https://www.youtube.com/watch?v=srUSDU1u0og

    You need to do this to change the emmissive component of your vehicle mesh. The taillights should emit red when brakes are on. To achieve this look, you need a dynamic material.

    However, emmisive materials don't really emit light that shines on other stuff in your game world very well.. so you need to add some sort of light components that you turn on and off in tandem with the dynamic material.

    Check this video series to learn to switch light on or off, from video 16 onwards:
    https://www.youtube.com/watch?v=cRhW...t4chjhypxIO9ZB
    Easy weapons in Unreal Engine 4:
    Check out Realistic Blueprint Weapons

    Currently doing a tutorial series on Vectors and what they are good for.
    Please visit Unreal Unscripted

    Comment

    Working...
    X