Canvas scenery overlays: Difference between revisions

Jump to navigation Jump to search
Line 5: Line 5:


== Background ==
== Background ==
If you want to pass substantial amounts of data, it makes sense to use a texture (with filtering disabled, probably) to pass the info. Since we don’t have much chance of using the ‘correct’ solution (UBOs) in the near future.<ref>{{cite web
If you want to pass substantial amounts of data, it makes sense to use a texture (with filtering disabled, probably) to pass the info to the effect/shader subsystem. Since we don’t have much chance of using the ‘correct’ solution (UBOs) in the near future.<ref>{{cite web
   |url    =  https://sourceforge.net/p/flightgear/mailman/message/32072598/  
   |url    =  https://sourceforge.net/p/flightgear/mailman/message/32072598/  
   |title  =  <nowiki> Re: [Flightgear-devel] Passing arrays to a shader </nowiki>  
   |title  =  <nowiki> Re: [Flightgear-devel] Passing arrays to a shader </nowiki>  

Navigation menu