Traffic Shader: Difference between revisions

Jump to navigation Jump to search
No edit summary
Line 22: Line 22:
   |script_version = 0.40  
   |script_version = 0.40  
   }}</ref>
   }}</ref>
you need to align the uv-mapping of the road with its direction, a feature that we don't need for any terrain. Which is why this needs some extra action.<ref>{{cite web
  |url    =  https://forum.flightgear.org/viewtopic.php?p=235965#p235965
  |title  =  <nowiki> Re: AI  </nowiki>
  |author =  <nowiki> Thorsten </nowiki>
  |date  =  Mar 20th, 2015
  |added  =  Mar 20th, 2015
  |script_version = 0.40
  }}</ref>


The reason we're not using randomly distributed models for trees and instead use a shader-based instancing scheme is performance - instancing trees is much faster.
The reason we're not using randomly distributed models for trees and instead use a shader-based instancing scheme is performance - instancing trees is much faster.
Line 94: Line 104:
   |script_version = 0.40  
   |script_version = 0.40  
   }}</ref>
   }}</ref>


== References ==
== References ==

Navigation menu