-
Notifications
You must be signed in to change notification settings - Fork 133
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.
- 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 totransform
- 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.
-
render_shadows
was renamed torender_shadow
in the effect options -
shadows:
was renamed toshadow:
in effect files
Rendering Pipeline by tobspr (c) 2014 - 2016
For developers: