Search Unity

  1. Megacity Metro Demo now available. Download now.
    Dismiss Notice
  2. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

Is it possible to use the Unity projector to project to a Lightmap or to the emission g-buffer.

Discussion in 'Shaders' started by Skolstvo, Feb 7, 2016.

  1. Skolstvo

    Skolstvo

    Joined:
    Dec 21, 2015
    Posts:
    107
    Hi,

    I'm interested in smoother shadows with deferred rendering.

    Does anyone know if it is possible to project a fake shadow to an objects lightmap texture or to the emission g-buffer in Unity?

    I was interested in this technique in Overgrowth and would be interested in knowing if something like that would be possible to implement in Unity. It would be trivial to project a fake shadow from a render texture unto an object using the Unity projector, but the problem that it wouldn't affect the lighting. The "shadow" would simply overlay a grey mess onto the final colors of the rendered image.

    Projecting shadows in the final g-buffer phase seems like the way to go.