Questions tagged [lightmap]
The result of an optimization technique that involves prebaking all static lighting and shadows and then applying it as an additive layer on top of static geometry at run time.
72 questions
1
vote
0
answers
99
views
How to project Polygon onto Lightmap texture like in quake?
I am in the process of writing a Lightmapper and I discovered this video about Quake's lightmapping process:
https://www.youtube.com/watch?v=bxientPsqRg
The video discusses that the polygon is somehow ...
1
vote
0
answers
102
views
Changing scene baked lightmap according to the time of day
I need a dynamic light view in a mobile game without losing any performance. So I thought to resort to baking the light, but I'll lose the light dynamic feature.
And now I have a time system that ...
1
vote
1
answer
188
views
How to achieve believable interior night light in Unity URP?
I have scene which shows inside of an house. I am trying to achieve night as shown in horror movies. But in order to light up the entire room I have to increase the intensity of light way too much. ...
0
votes
1
answer
110
views
Why does my "Game" tab show images with grayish/wrong colors while my "Scene" tab correctly shows images with correct colors in Unity?
I create a Unity project.
The "Scene" tab shows the image with the correct colors.
But, the "Game" tab shows the image with a grayish colors, which are the wrong colors.
Here is ...
0
votes
1
answer
85
views
Which coordinates should I use to generate a 2D lightmap properly?
Recently I noticed that my 2D lightmap rendering has an issue - lighted area is getting rendered as far from the actual light source as the world coordinate of the light source grows. E.g. when world ...
0
votes
1
answer
186
views
How do I interpolate light intensity for tilemap's lightmap?
I implemented lightmap creation for a tilemap, but I cannot figure out how do I interpolate light intensity values. For now, my lighted tiles create an obvious grid-like structure. It was pretty easy ...
0
votes
0
answers
122
views
Baked lightmaps in SceneA, at runtime loaded SceneB from SceneA: lighting is now messed up in untouched SceneB. Only in Editor!
I'm using Unity, and in my MainMenu scene I made most objects static and baked some lightmaps.
I built the game, clicked on a button in MainMenu which ...
2
votes
1
answer
885
views
How is a Spherical Harmonics Lightmap generated?
I have successfully generated a single color lightmap using ray tracing.
For each texel in the lightmap, I trace into the hemisphere (using the normal) and capture the incoming light.
This single ...
1
vote
0
answers
73
views
Baked shadows look different when camera post-processing is on/off
Sooo... basically title. I have no idea what's going on here. I don't think I've seen this kind of behavior before, or perhaps I did but I can't remember it. Any idea on what's happening here? Couldn'...
2
votes
1
answer
1k
views
Seams on tiled wall after lightbaking in unity
I spent several days now trying to fix the seams in my unity scene whenever I hit the lightbaking button.
My setup is a wall out of different parts created in blender and then stitched together in ...
2
votes
0
answers
608
views
How to get rid of these seams on the lightmap? ( Unity )
The wall is made of blocks of identical wall models with the same UVs. How to get rid of these seams on the lightmap?
How I made this scene with this models:
I made 3D model of the wall element in ...
0
votes
1
answer
420
views
Where does this orange tint come from after baking LightMap?
My settings:
Unity version - Unity 2021.1.12f1
Lightmap Lighting Mode - Bake indirect
Render Path - URP
All Objects in Scene are marked as static.
If you move objects aside, then under them there is ...
0
votes
1
answer
252
views
How not to multiply real time and bake shadows? (Unity)
I have one Light Source ( Directional Light ) with Mixed Mode.
Lighting Mode in Lighting Window I seted to Subtractive.
What the problem looks like
How I would like the shadows to blend. How to ...
0
votes
1
answer
1k
views
Unity baked light messes up a set of objects
On a few objects I use a technique where instead of using geometry, I place planes with a Cutout Material on top of each other, creating a 3D illusion with minimal cost. The thing is, it looks great ...
1
vote
0
answers
2k
views
Baked lightmap: Parts of scene appear too dark
I'm having trouble setting up global illumination in my Unity 2021.1.1 URP project
Parts of my scene are appearing completely dark, I'm only using directional light and area light on the windows, here'...