Search Unity

Baking only lightprobes.

Discussion in 'High Definition Render Pipeline' started by koirat, Oct 19, 2020.

  1. koirat

    koirat

    Joined:
    Jul 7, 2012
    Posts:
    2,073
    How to bake only lightprobes.
    I don't want any lightmaps (that takes ages to bake).

    I need it for development purpose.
     
    AntonioModer likes this.
  2. Remy_Unity

    Remy_Unity

    Unity Technologies

    Joined:
    Oct 3, 2017
    Posts:
    703
    Hi !
    This is not an issues specific to HDRP (wrong forum section), but I will answer to your question :
    In the mesh renderer inspector of you objects, you can :
    - Enable Contribute Global Illumination so the object will be taken in account by the lightmapper for baking lightmap and probes).
    - Set Receive Global Illumination to Light Probes if you still want it to be affected by the light probes.
    - Set Lightmapping/Scale in Lightmap to 0 to be sure that no lightmap will be generated for this object.
    https://docs.unity3d.com/Manual/class-MeshRenderer.html
     
    AntonioModer likes this.
  3. koirat

    koirat

    Joined:
    Jul 7, 2012
    Posts:
    2,073
    I appreciate it.
    Still I posted it here since it is not always obvious what belongs to HDRP.
    I'm using HDRP and since lighting is a rendering subject that's why this post.

    Unfortunately your solution is not good enough, why should I wreck all my scene objects settings to bake only light probes ? Obviously there should be a choice of what I want to bake.
     
    AntonioModer likes this.
  4. AntonioModer

    AntonioModer

    Joined:
    Jul 29, 2014
    Posts:
    65