Hi Tim, is there a way to have the value of an uniform updated every frame by the value of a live property ?
I used : <parameters> <sun-angle><use>/sim/time/sun-angle-rad</use></sun-angle> </parameters> and then, in pass <uniform> <name>sun_angle</name> <type>float</type> <value><use>sun-angle</use></value> </uniform> According to README.effect, the value should dynamically change but my shader variable stay at 0.0. The readme also says [NOT IMPLEMENTED YET], but it is unclear to me what in not implemented : the copy of a value from the global property tree to a uniform, or the copy from a local property, or both ? Regards, -Fred ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ Flightgear-devel mailing list Flightgear-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/flightgear-devel