Skip to main content

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.

Filter by
Sorted by
Tagged with
0 votes
1 answer
60 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 ...
Job_September_2020's user avatar
0 votes
1 answer
41 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 ...
Steyrix's user avatar
  • 225
0 votes
1 answer
78 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 ...
Steyrix's user avatar
  • 225
0 votes
0 answers
38 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 ...
Tudvari's user avatar
  • 761
2 votes
1 answer
278 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 ...
Raildex's user avatar
  • 761
1 vote
0 answers
46 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'...
YoshGJ's user avatar
  • 505
2 votes
1 answer
645 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 ...
Carolin Köhn's user avatar
2 votes
0 answers
490 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 ...
White Raven's user avatar
0 votes
1 answer
361 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 ...
White Raven's user avatar
0 votes
1 answer
200 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 ...
White Raven's user avatar
0 votes
1 answer
846 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 ...
505Legion's user avatar
  • 103
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'...
denis's user avatar
  • 11
0 votes
2 answers
2k views

Godot Engine: Why is baking light making my scene darker?

I have an interior scene with some windows. The light is from an OmniLight near the ceiling, default environmental light from outside, and a desk lamp with emission. Without baking light, the scene ...
user2604415's user avatar
0 votes
0 answers
25 views

Baked lightmap errors in adjacent polygons

Everything seems to work great, but in some parts of my model I get shadows like this If I look at the light map, it looks bad: What is the best approach to solve this issue? Here my light settings:
Blasco's user avatar
  • 101
2 votes
2 answers
1k views

How to make 2D lighting in JavaScript

I am making a recreation of the 2D voxel game Terraria in JavaScript. Like most sandbox games, Terraria has lighting, but because I am using JavaScript, performance is going to be an issue. I have ...
luek baja's user avatar
  • 123
0 votes
0 answers
61 views

How do I fix this unintentional chromatic aberration on a lightmap?

Some strange rainbow halos (front and left) appear after computation of a lightmap for direct light. The formula is dot * dot2 / ( dist * dist ) * dl->intensity ...
Ivan Feoktistov's user avatar
0 votes
1 answer
3k views

After baking my lights again in Unity, my character is black?

I had to re-bake my scene several times before getting the look that I wanted. This last time, the scene looks great, but my characters are now very dark and the playable character is completely black....
hatinacat2000's user avatar
1 vote
1 answer
3k views

Mesh turns black after baking light

I had to port a project from Unity to Unreal which relied mostly on baked lighting. When I baked the light (StaticMeshActor set to Static), the 3D model in the map turned black. Without bake (...
01F0's user avatar
  • 185
0 votes
1 answer
213 views

Unity - Global illumination seems no longer applied to static objects on runtime

First of all I'm newbie with Unity, so please forgive me if the answer of this question is obvious for any experimented developer. So, in one of my project I have this result while I run the project ...
Jean-Milost Reymond's user avatar
0 votes
1 answer
5k views

Baked vs realtime global illumination in unity

I use unity. So far I know that the baked GI is less GPU processing when the game is played so if possible, I need to use baked GI. Newbie question: I'm using unity and just curious in the light ...
andio's user avatar
  • 165
0 votes
0 answers
88 views

Unity3D : Creating & Sharing light-baked levels without updating the game

I want to give myself freedom to add more levels after releasing the game. For creating levels I broke down structure and created a tilemap like a structure. here's an example : I will add them up ...
videogamechef's user avatar
1 vote
0 answers
2k views

Unity - Load Lightmaps at Runtime

I'm a bit of a novice to lighting, but I think what I want to do is possible, so please bear with me. Due to the nature of my game, I've taken an approach where a singular scene ...
lase's user avatar
  • 540
1 vote
0 answers
20 views

Setting up Lightprobes

Moving around lightprobes requires using the movetool and all you really can do is move them along global axes and copy paste. There are no functions to scale, rotate, Snap to a surface, not even ...
AzulShiva's user avatar
  • 669
1 vote
0 answers
75 views

Lightmapper artifacts

I really don't understand why this is creating these kinds of artifacts. I'm starting to think something is wrong with Unity. There are clearly no overlapping faces on the Model. There is enough of a ...
AzulShiva's user avatar
  • 669
0 votes
0 answers
41 views

How to do Colored Lights in CIE XYZ/LUV-like Space?

I've a 2d background, some sprites, blitted onto it. And over all that in the final pass I draw colored lights, to make projectiles look cooler. Basically I apply a classic lightmap, which is colored ...
SmugLispWeenie's user avatar
3 votes
0 answers
182 views

Resolution problems with global illumination in Unity

I am pretty new to Unity and after hours of searching I have finally figured out how to set everything up for (baked) global illumination to work for my model. However the model is an export from a ...
oliver's user avatar
  • 131
1 vote
1 answer
4k views

Strange artifacts in Unity Lightmaps

I experienced this weird lightmapping bug in my game that causes some models to have glowing artifacts on their surface. These artifacts "move" around, when I edit the UVs of the model in Blender, so ...
Enrico Ludwig's user avatar
1 vote
1 answer
313 views

Do meshes marked "shadows only" require light maps to block light?

I want to use an .fbx mesh to block light from entering a room (except for holes cut for windows). The mesh itself must stay invisible. I know marking it "shadows only" will hide it from the camera, ...
hatinacat2000's user avatar
1 vote
0 answers
176 views

How to import a texture to be used as occlusion map?

The same way normal maps need to be imported as "Normal map" in the import settings, how should I setup an Ambient Occlusion texture to correctly work? I've been searching around in the manual and ...
40detectives's user avatar
0 votes
0 answers
344 views

How to do lighting for endless runner game?

I have been working on a endless runner game for a month now and have to do basic lighting. In my game Player moves forward and world is being generated according to player position. So the positions ...
Saad Anees's user avatar
0 votes
1 answer
1k views

Unity point light baking into lightmap

I'm developing a puzzle with a ball with cracks on it. Inside the ball there's a point light. Its light rays come out of the cracks and hit some platforms (walls/ceiling/floor). To solve the puzzle ...
Daniel Marques's user avatar
1 vote
0 answers
409 views

Errors when baking lights in unity3d

So, i'm developing a game in unity and avoided baking lightmaps untill now ( i just assembled my new workstation setup wich is capable of baking the lightmaps and not the computer ). And now i have ...
czyngis's user avatar
  • 111
2 votes
1 answer
870 views

Baking lights causes weird seams on meshes. How to avoid it?

I'm trying to bake lightning in the simple scene with some imported geometry. The result is weird seams near the edges of the meshes even there is no free space between them. How to avoid it and just ...
wooden_coder's user avatar
2 votes
1 answer
4k views

How can I make tree foliage work with baked lighting?

I have an issue in Unity where my trees are black and it seems to be due to the fact that I'm using baked lighting in my scene. Luckily, it seems that I'm not the only one who's experienced this. I ...
GDP2's user avatar
  • 131
1 vote
1 answer
1k views

Render to texture and gaussian blur texture problem

im using a lightmap to achieve a 2d lighting effect in OpenGL with dynamic shadows and to make them soft I use the gaussian blur. However I noticed one problem : When I use big blur ratio, it has some ...
Pins's user avatar
  • 569
1 vote
2 answers
2k views

Proper indoor lighting without directional light

I would like to know how to properly handle indoor lighting without a directional light. My scene has a room( its some kind of shop), in which the player and ai-agents can move around. I can get good ...
dkerm's user avatar
  • 11
-1 votes
3 answers
19k views

How to make neon lightning effect in unity 3d

How can i Create Neon Lighting effect in unity 3d , so i have 2d scene and i want the rect to glow like neon
Kartik's user avatar
  • 139
0 votes
1 answer
284 views

2D Lighting Problem with Black Backgrounds

I'm currently experimenting with simple lighting in my game made with SFML and C++ (though I don't think that's relevant to the question). It's my first time messing with lighting in 2D, and my basic ...
Ben Humphries's user avatar
4 votes
1 answer
4k views

FPS drops when I maximize the game tab in Unity Editor

I have a simple unity scene with some primitive objects like cubes and spheres. Most of the objects are static and I made backed GI for lighting, The light is a point light. I also used unity post-...
Emad's user avatar
  • 1,126
0 votes
1 answer
1k views

How to make non-static gameobjects brighter?

I placed non-static gameobject in the scene. Look at this picture: You can see the lighter, but it's too dark, way darker than others. The only difference between the lighter and the other objects ...
modernator's user avatar
  • 1,213
3 votes
1 answer
1k views

Baking artifact in Unity

I am using unity 2017.1.0 f3, Enlighten baking, with Generate lightmap UV ticked in import settings. Also the object has prioritized illumination and the light map resolution is high. An example of ...
Nithin Jose's user avatar
1 vote
1 answer
231 views

in unity, lightmap comes out blurry on android device

as you see, shadow is blurred. (see the tree's shadow) What settings should I add?
mjk6026's user avatar
  • 246
0 votes
1 answer
2k views

Combined Mesh and Lightmap

I am using Unity 2017. The left picture is the original state. Light map applied. On the right is the state after all meshes are made into Combined Mesh. Same lightmap settings as left. As you can ...
mjk6026's user avatar
  • 246
1 vote
1 answer
526 views

Strange patterns on models with Unity Lightmap

To save performance and increase the details of static shadows I marked all static objects as static in my Unity Scene. Unfortunately there are now strange patterns on some of my models and I have no ...
Morph's user avatar
  • 102
1 vote
0 answers
388 views

Lighting, shader and GI is messing up the materials in Unity3D

Hello Guys I am not very sound with Unity3D Lightmapping. Currently I have a set of low poly items in my scene. Textures on my models are getting washed out. They totally look absurd. here is a ...
Adnan Nazir's user avatar
0 votes
1 answer
170 views

Lightmaps from RTCW BSP file not being rendered correctly

I'm trying to recreate a Return To Castle Wolfenstein renderer using Direct3D 11, but I can't seem to be able to render the lightmaps as they should be. I have not found much information on the ...
Hermetix's user avatar
  • 507
1 vote
0 answers
334 views

Combine diffuse map and lightmap into one texture file

Working with Unity, I'd like to do some more memory optimization. Currently, my 3D models have a diffuse texture and a lightmap, both at the same resolution and compression. I was wondering if there ...
brain56's user avatar
  • 219
1 vote
0 answers
246 views

Why do I get white highlights at the edge once light build complete?

Whenever I build my lights in Unreal, why do I always get white highlights at the edges? I can't seem to solve this. I get this problem with both static and stationary lights. Can someone please help? ...
Kumaresan Sandran's user avatar
1 vote
1 answer
100 views

lightmap equivalent with realtime shadow

i'm using in Unity free edition. I try to bake a lightmap which equivalent feeling with Unity's real time light map and shadowing, like left figure. But the result is the right figure. How can i ...
mjk6026's user avatar
  • 246
2 votes
1 answer
1k views

Unity - Loss of detailed shadows and shading marks on texture seams appearing after lightmap baking

I'm attempting to lightmap bake my scene and am running into the following problem - With the lights set to realtime, the shadows have a nice amount of detail in them and the lighting on the models ...
NIMBLE JIM's user avatar