Postprocess Material, Lighting/Shadow node?

Hello,

I’m trying to make a cellshaded post process, however I can’t seem to find a way to manipulate the lighting/shadows.

In SceneTexture, there’s base color, diffuse, ambient occlusion, etc. However the shadow type on that node just always gives a solid 1 (screen is pure white) and I can’t find any way to emulate the lightning modes you can see from within the editor viewport.

Is there anyway to get the lighting info from a material node?

Also, is there any image online of a node setup that recreates the scene (base + lighting + AO + metalic + reflections, etc), so I may use that and adjust what’s needed?

Thanks!

Hello Juice-Tin,

The light and shadows are adjusted by the lights that you have implemented in your scene. Think of the post process as putting on sunglasses. Yes, you have tinted the world around you, and things will appear differently but they are not directly affecting what is already there. You have added a filter that is calculated on a pass after everything else.

I would suggest looking into manipulating the lights and the shadows they cast in conjunction with the Post Process volume in order to achieve what you are looking for.

Here is a bit of documentation on stylized rendering, Post Processing, and a Cel Shader to help you out.