Comments (7)
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.
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.
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.
from prefablightmapping.
Is this something easy to reproduce? If so can you provide a simple repo project for me to check?
from prefablightmapping.
I will try to prepare something tomorrow
from prefablightmapping.
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)
- Light probes in Interior scenes HOT 1
- Baking lightning on a prefab overwrite other prefabs lightmaps HOT 2
- URP AssetBundle lighting corrupted HOT 5
- "IndexOutOfRangeException: Index was outside the bounds of the array." on MaterialPostprocessor. HOT 5
- As I bake new prefab the old lightmaps gets deleted even they are moved in separate folder
- About Android HOT 2
- Baked lighting is broken upon instantiating from Asset Bundle HOT 25
- Baked light probes
- Baked lighting doesn't work in the build version if Screen Space Shadows is enabled
- Lightmap breaks in the build on a single prefab HOT 1
- lightmaps in the build aren't mapped correctly HOT 2
- Not working on unity 2022.2.13 HOT 4
- I try to bake but it has already taken about 4 and half hours HOT 1
- Transparency in Build HOT 13
- Trying to set shader on a Material Variant HOT 3
- Lightmaps Too Bright on Android Bundle HOT 2
- Incorrect light maps being assigned on instantiation HOT 2
- Prefab only baking/loading one light HOT 1
- How to merge LightingData assets for correct shading working? HOT 10
- Normal maps not showing properly on instantiated prefab HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from prefablightmapping.