Skip to content

API Affecting Changes

tobspr edited this page Apr 27, 2016 · 8 revisions

This file includes all important changes which you have to consider when upgrading to a newer version/revision of the Render Pipeline. This is by no means a changelog, but just a list of changes which affect the api.

b5faefb (26.04.2016)

  • The effect syntax has been refactored. Instead of specifying code per render pass (gbuffer:, shadows:), code is now specified per render stage (vertex:, fragment:). Also, the inject: keyword has been removed, and injects can be written directly below the pass keyword. See the Terrain Effect for an example of the new syntax.
  • The vertex hook has been renamed to transform
  • Effects now longer should (and can) write to the vOutput.last_proj_position
  • Effect hooks have been changed to lowercase to better match with effect declarations. This only is important if you defined your own effect templates, in which case you should also change the hooks to lowercase there.

ac766d8 (22.04.2016)

  • render_shadows was renamed to render_shadow in the effect options
  • shadows: was renamed to shadow: in effect files