User Tools

Site Tools


pidi_planar_reflections_3

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Next revision Both sides next revision
pidi_planar_reflections_3 [2019/09/23 14:42]
irrsoft [Installation]
pidi_planar_reflections_3 [2019/10/14 13:14]
irrsoft [Basic Upgrade Guide]
Line 209: Line 209:
 \\ \\
  
 +==== Basic Shaders Upgrade Guide ====
  
 +###
 +At the moment of release, PIDI Planar Reflections 3 has a smaller collection of integrated shaders than PIDI Planar Reflections 2 had at the end of its life. 
 +###
 +
 +###
 +This was a conscious decision since it was released as new versions of the SRP rendering pipelines were quickly evolving and many of the version 2 shaders were being re-worked to be mobile-ready by default, without requiring multiple variants. Our new approach will be to add brand new shaders as well as ports of the old ones in smaller, progressive updates that can be approved faster and that can also keep up the pace of the evolving Universal RP and Lightweight RP as we progress.
 +###
 +
 +###
 +However, if you want or need one of the older shaders to be compatible with PIDI Planar Reflections 3 the process is fairly simple and can be done within a couple of minutes.
 +###
 +
 +###
 +Open any of the old shaders and search for a line with the following code : 
 +###
 +
 +\\
 +{{ :planar3_upgradeshader.jpg?direct |}}
 +\\
 +
 +###
 +This line is usually followed by another line of code that says "screenUV += dist;". The main difference between how version 2 handled reflections and how version 3 handles them that may make the shaders incompatible is that version 3 has an inverted X coordinate. To fix this and make your old shaders compatible with version 3 you just need to add, between those 2 lines of code, a new one that inverts the X coordinate of screenUV as follows : 
 +###
 +
 +\\
 +{{ :planar3_upgradeshader2.jpg?direct |}}
 +\\
 +###
 +Following these simple steps every shader that you have used in version 2, even custom ones, will be ready to use with version 3 and all its features thanks to the consistent naming of parameters between versions. The first free shader pack for PIDI Planar Reflections 3 will be added through a small update on October 2019 with another one coming in mid November. Our aim is to provide at least a few new shaders every month to grow the collection.
 +###
 +\\
 ---- ----
 ===== Planar Reflections Renderer, Basic Settings ===== ===== Planar Reflections Renderer, Basic Settings =====
pidi_planar_reflections_3.txt ยท Last modified: 2020/09/25 06:14 by irrsoft