Giter Site home page Giter Site logo

Comments (7)

Ayfel avatar Ayfel commented on July 1, 2024

Very strange, what render pipeline? The script is supposed to only bake non-directional, do you have the latest commit?

Also feel free to share a repo simple case to see the issue.

from prefablightmapping.

Eldirfar avatar Eldirfar commented on July 1, 2024

I mean Directional Mode -> Non-Directional.

The script is supposed to only bake non-directional

What do you mean? Script have this field for directional lightmaps.
[SerializeField] Texture2D[] m_LightmapsDir;

I'm using Unity 2020.3.17 and Universal Render Pipline.

from prefablightmapping.

Ayfel avatar Ayfel commented on July 1, 2024

Yes the script has an option for directional maps but some versions and combinations of Unity version and render pipeline were having issues with directional.

So just to make sure, it works only in Directional Mode-> Non-Directional? I think that might be right with URP but let me know so we can narrow it down more.

from prefablightmapping.

Eldirfar avatar Eldirfar commented on July 1, 2024

from prefablightmapping.

Ayfel avatar Ayfel commented on July 1, 2024

Is this something easy to reproduce? If so can you provide a simple repo project for me to check?

from prefablightmapping.

Eldirfar avatar Eldirfar commented on July 1, 2024

I will try to prepare something tomorrow

from prefablightmapping.

Eldirfar avatar Eldirfar commented on July 1, 2024

When I was preparing a simple repro I found the issue. Lightmaps weren't applied after changing the active scene. Don't know why this occurs only with non-directional ones. Anyway, problem solved. Thanks for your support.

from prefablightmapping.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.