How to affect Lightmap in Surface Shader ?
Posted: Thu Jun 21, 2018 1:09 am
Hello everyone, I have a simple shader question :
Let's say I have a Static, Lightmapped object in a scene. Is there a way for me to create a shader that will affect the lightmap ?
I tried searching but can't find any leads on this.
My question is not about modifying the lightmap itself ( I don't want to touch the Lightmap/Directional lightmap), but I want to do some shader processing on it (Ex : tinting, Masking, ...), on a surface shader if possible !
Thanks
Let's say I have a Static, Lightmapped object in a scene. Is there a way for me to create a shader that will affect the lightmap ?
I tried searching but can't find any leads on this.
My question is not about modifying the lightmap itself ( I don't want to touch the Lightmap/Directional lightmap), but I want to do some shader processing on it (Ex : tinting, Masking, ...), on a surface shader if possible !
Thanks