Traffic Shader: Difference between revisions

Jump to navigation Jump to search
Line 202: Line 202:


== Previous work ==
== Previous work ==
looking into supressing head/tail lights on the traffic shader. One way you can check that is by checking the angle between the view vector and the tangent or the binromal (depending on the UV layout) Anyway, here's a link to my PoC traffic shader from some years ago, hope it helps (I've also added the car/lightmap texture I've come up with while doing it) : http://s.go.ro/qwd1eloh<ref>{{cite web
looking into supressing head/tail lights on the traffic shader. One way you can check that is by checking the angle between the view vector and the tangent or the binromal (depending on the UV layout) Anyway, here's a link to my PoC traffic shader from some years ago, hope it helps (I've also added the car/lightmap texture I've come up with while doing it) : http://s.go.ro/qwd1eloh<ref>{{cite web
   |url    =  https://sourceforge.net/p/flightgear/mailman/message/35710000/  
   |url    =  https://sourceforge.net/p/flightgear/mailman/message/35710000/  
   |title  =  <nowiki> Re: [Flightgear-devel] FlightGear 2017.1.1 released! </nowiki>  
   |title  =  <nowiki> Re: [Flightgear-devel] FlightGear 2017.1.1 released! </nowiki>  

Navigation menu