Page History
...
Overview
The main purpose of the ReferenceImage setup is that the ReferenceImage shader does not receive light or other shader information from within the level. It keeps the image at its pure source:
Illum Shader on the left, ReferenceImage Shader on the right.
This tutorial shows how to add raw reference pictures in a level.
Saving the reference picture
- Make sure you have the CryTiff plugin installed.
- Open the original reference picture in Photoshop.
- Set the size of the canvas or resize the picture to a power of 2 and use alpha channel to hide the black stripe if needed.
Gallery include RefImage03.png - Save the picture as CryTiff, use Diffuse_lowQ or highQ preset. If needed, disable the streaming of the texture.
Gallery include RefImage02.png
Inserting the reference picture in the level
- Place a brush that will contain the picture in the level,
Objects\decals\gde_1x1.cgf
for example. Usually, something like a flat billboard asset would be best suited. - Create a new material with the Referenceimage ReferenceImage shader and add the previously created texture in the diffuse slot. Increase AlphaTest parameter when needed.
Gallery include RefImage04.jpg
Result
...
This picture shows the difference between the standard illum Illum shader (left panel) and the Referenceimage ReferenceImage shader (right panel), unaffected by the noise/grain shading.
Overview
Content Tools