Yue Posted June 26, 2018 Posted June 26, 2018 I have a concern, how do I make the surface of the vehicle's lights look bright, is to simulate the effect that they are on and not off. Any suggestions?
Solution Thirsty Panther Posted June 26, 2018 Solution Posted June 26, 2018 A glow effect should do the job.
Gonan Posted June 26, 2018 Posted June 26, 2018 use a small radius point light source just in front of the light, so that it illuminates the headlight.
tipforeveryone Posted June 26, 2018 Posted June 26, 2018 Use material with emission shader, only for that light
tipforeveryone Posted June 27, 2018 Posted June 27, 2018 I mean you can apply a material which uses emission shader only for that part of mesh (where is the light position) then use entity:GetSurface() to change the light's stages
gamecreator Posted June 27, 2018 Posted June 27, 2018 Look for shaders with the word emission in them in the Shaders folder.
Yue Posted June 27, 2018 Author Posted June 27, 2018 6 hours ago, gamecreator said: Look for shaders with the word emission in them in the Shaders folder. This? But apparently I don't have the desired result....
Yue Posted June 27, 2018 Author Posted June 27, 2018 These are the parts of the texture I want to illuminate that are the front lanterns of the vehicle and the rear lanterns.
gamecreator Posted June 27, 2018 Posted June 27, 2018 Check out the link Thirsty Panther provided above. In it there's a post by Josh that answers this question.
slick29 Posted April 19, 2020 Posted April 19, 2020 Sorry for the late response. Idk if you got your answer, but you would just make the entire emission texture black with the parts you want illuminated a plain white color (or what ever color you want)
slick29 Posted April 19, 2020 Posted April 19, 2020 How would you switch the emission map on and off to simulate toggling the light?
Recommended Posts