If you want to understand it well, plug it to the emissive. So to extract the light from the scene, we have to divide the diffuse color from the scene. Light is multiply onto the diffuse color. You can use custom depth to mask the objects you want to cel shade. Then we out-mask the skybox with scene depth and give it original post process effect. Then we add the original post process to the scene to get the light colors back. According to that lighting, we can give the scene whatever shade we want depending on if the light is greater or less than 0. We extract the desaturated lighting of the scene so we get the black and white color of the extracted lighting 0 to 1.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |