Effect framework: Difference between revisions

Jump to navigation Jump to search
Added section on reloading effects runtime
(→‎blend (simple): adding this tag)
(Added section on reloading effects runtime)
Line 1: Line 1:
{{forum|47|Effects & Shaders}}
{{forum|47|Effects & Shaders}}
{{Rendering}}
{{Rendering}}
The effect framework as per version 2019.1
The effect framework as per version 2020.1


Effects describe the graphical appearance of 3d objects and scenery in
Effects describe the graphical appearance of 3D objects and scenery in
FlightGear. The main motivation for effects is to support OpenGL
FlightGear. The main motivation for effects is to support OpenGL
shaders and to provide different implementations for graphics hardware
shaders and to provide different implementations for graphics hardware
Line 95: Line 95:


in order to maintain backward compatibility.
in order to maintain backward compatibility.
== Reload effects at runtime ==
To reload an effect applied in a model xml file (e.g. some parameters and what it enherits from) just go into debug menu and select Reload Model.
To reload the entire effect framework including eff files, go into menu and debug and configure development extensions and reload shaders. This is broken in 2020.1 though, but works in earlier FG versions.


== The xml tags of an effect ==
== The xml tags of an effect ==
574

edits

Navigation menu