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
0 answers
16 views

Selective baking with Progressive lightmapper

The documentation for the Progressive Lightmapper states that it: [...] allows you to bake selected portions of lightmaps, which makes it faster for you to test and iterate on your Scene. Is it ...
user avatar
  • 3,575
0 votes
0 answers
29 views

how much margin is needed for lightmap UVs in relation to the object's scale?

How much margin do lightmap UVs need to prevent light leaks in UE4? Is there a way to calculate the margin from the object's scale or its lightmap resolution in UE4?
user avatar
2 votes
0 answers
146 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 ...
user avatar
0 votes
0 answers
47 views

Why Area light looks like Circle light? ( Unity )

All my Area light with Rectangle shape but after baking I get this circle shape ligh. Why?
user avatar
0 votes
0 answers
38 views

Do I need to disable shadow casting and Recieve shadows settings if the object is baked in Lightmap?

I baked a lightmap with Subtractive mode. Do I need additionaly disable Casting shadow and Receive shadows settings to protect against unnecessary waste of resources&
user avatar
0 votes
0 answers
12 views

How to connect lightmap textures to scene?

I am working through GIT. I created a level and a lightmap for it, but in subsequent commits, the lightmap textures seem to have lost touch with the scene. The scene was not particularly changed, the ...
user avatar
0 votes
1 answer
56 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 ...
user avatar
0 votes
1 answer
22 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 ...
user avatar
0 votes
0 answers
80 views

What would cause these severe lightmap artifacts?

I'm working on lighting for a scene and having some weird issues with the Progressive Lightmapper (GPU). This is an empty hall on one side of the scene. The hall is nearly featureless, as it is only ...
user avatar
  • 3,575
0 votes
1 answer
220 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 ...
user avatar
  • 103
1 vote
0 answers
784 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'...
user avatar
  • 11
0 votes
2 answers
847 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 ...
user avatar
0 votes
0 answers
13 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:
user avatar
  • 101
1 vote
1 answer
562 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 ...
user avatar
  • 113
0 votes
0 answers
48 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 ...
user avatar
0 votes
1 answer
2k 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....
user avatar
1 vote
1 answer
1k 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 (...
user avatar
  • 197
0 votes
1 answer
123 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 ...
user avatar
0 votes
1 answer
3k 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 ...
user avatar
  • 135
0 votes
0 answers
55 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 ...
user avatar
1 vote
0 answers
1k 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 ...
user avatar
  • 530
1 vote
0 answers
19 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 ...
user avatar
  • 619
1 vote
0 answers
48 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 ...
user avatar
  • 619
0 votes
0 answers
33 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 ...
user avatar
3 votes
0 answers
92 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 ...
user avatar
  • 131
1 vote
1 answer
3k 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 ...
user avatar
1 vote
1 answer
179 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, ...
user avatar
1 vote
0 answers
60 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 ...
user avatar
0 votes
0 answers
289 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 ...
user avatar
0 votes
1 answer
844 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 ...
user avatar
1 vote
0 answers
343 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 ...
user avatar
  • 111
1 vote
1 answer
449 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 ...
user avatar
2 votes
1 answer
3k 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 ...
user avatar
  • 131
1 vote
1 answer
978 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 ...
user avatar
  • 529
1 vote
2 answers
1k 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 ...
user avatar
  • 11
-1 votes
3 answers
16k 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
user avatar
  • 139
0 votes
1 answer
218 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 ...
user avatar
4 votes
1 answer
3k 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-...
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 ...
user avatar
  • 1,123
3 votes
1 answer
990 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 ...
user avatar
1 vote
1 answer
181 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?
user avatar
  • 236
0 votes
1 answer
1k 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 ...
user avatar
  • 236
1 vote
1 answer
445 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 ...
user avatar
  • 102
1 vote
0 answers
365 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 ...
user avatar
0 votes
1 answer
134 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 ...
user avatar
  • 507
1 vote
0 answers
233 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 ...
user avatar
  • 209
1 vote
0 answers
131 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? ...
user avatar
1 vote
1 answer
95 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 ...
user avatar
  • 236
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 ...
user avatar
0 votes
1 answer
332 views

Why does lightmapping take so long compared to real time shadows?

I am using Unity 5. As a test, I set the realtime shadow resolution to max and the distance to cover my entire scene with no cascades. As expected, it lagged severely, but I could still move the ...
user avatar