- Home /
Question by
PolGraphic · May 02, 2015 at 03:14 PM ·
shadermateriallerpblending
Blending between Unlit/Color and Standard shaders
Hi.
I want to make an smooth blending between cartoon and realistic rendering.
The cartoon rendering uses Unlit/Color
and the realistic one uses Standard
.
I've already tried the `Material.lerp(...)` which should do the job. Unfortunately it's pretty useless (it can only interpolate between numeric values that are the same in both shaders - like color value etc.).
So, how to achieve my goal?
Comment
Answer by tanoshimi · May 02, 2015 at 03:16 PM
From your description, it sounds like you need to render the output to two different render textures - one using cartoon and one using realistic shading - then create a custom shader to blend between the two textures.
Your answer
![](https://koobas.hobune.stream/wayback/20220613194602im_/https://answers.unity.com/themes/thub/images/avi.jpg)