Hi,

I've just pushed a change to fgdata that modifies the model-combined and model-
combined-deferred effects when running under Rembrandt.

This was done in order to be able to provide the same effects that are 
available for transparent surfaces in the clasical pipeline for transparent 
surfaces when running Rembrandt. 

Those that want to enable reflection/bump effects for transparent surfaces 
under 
Rembrandt just need to create a local effect that inherits from Effects/model-
combined, and add at least the transparency include that can be found in the 
the Docs/model-combined.eff/model-combined-transparent.eff template. (this is 
needed for proper z-sorting of transparent/opaque surfaces in the classic 
renderer).
If they want normalmap support too, then they need to add the "normalmap-
include" that can be found in the same Docs/model-combined.eff/model-combined-
transparent.eff template.

This change breaks current local effects that inherit from 
Effects/model-combined-deferred, 
due to a needed change of technique numbers. Thus, the local effects that 
inherit from Effects/model-combined-deferred and use normalmaps need the 
folowing change in order to restore them to a working state:
change
        <technique n="8">
to:
        <technique n="7">

Local effects inheriting from 
        Effects/model-combined 
used on transparent surfaces do not need any adaptation.

Local effects inheriting from 
        Effects/model-combined 
used on opaque surfaces need to be switched to inherit from 
        Effects/model-combined-deferred, 
and modified according to the above recomandation if they use normalmaps.

Regards, and sorry for the minor(I hope) nuisance this change is causing.

Emilian


------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel

Reply via email to