Yue Posted June 26, 2018 Share 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? Link to comment Share on other sites More sharing options...
Solution Thirsty Panther Posted June 26, 2018 Solution Share Posted June 26, 2018 A glow effect should do the job. Link to comment Share on other sites More sharing options...
Gonan Posted June 26, 2018 Share Posted June 26, 2018 use a small radius point light source just in front of the light, so that it illuminates the headlight. Link to comment Share on other sites More sharing options...
tipforeveryone Posted June 26, 2018 Share Posted June 26, 2018 Use material with emission shader, only for that light Link to comment Share on other sites More sharing options...
Yue Posted June 27, 2018 Author Share Posted June 27, 2018 Sample shader for light where please? Link to comment Share on other sites More sharing options...
tipforeveryone Posted June 27, 2018 Share 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 Link to comment Share on other sites More sharing options...
gamecreator Posted June 27, 2018 Share Posted June 27, 2018 Look for shaders with the word emission in them in the Shaders folder. Link to comment Share on other sites More sharing options...
Yue Posted June 27, 2018 Author Share 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.... Link to comment Share on other sites More sharing options...
Yue Posted June 27, 2018 Author Share 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. Link to comment Share on other sites More sharing options...
gamecreator Posted June 27, 2018 Share Posted June 27, 2018 Check out the link Thirsty Panther provided above. In it there's a post by Josh that answers this question. Link to comment Share on other sites More sharing options...
slick29 Posted April 19, 2020 Share 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) Link to comment Share on other sites More sharing options...
slick29 Posted April 19, 2020 Share Posted April 19, 2020 How would you switch the emission map on and off to simulate toggling the light? Link to comment Share on other sites More sharing options...
Recommended Posts