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

Some of mesh too dark after bake lightmap

Take a look at this picture: As you can see from the picture, some walls have this dark texture after bake lightmap. UVMaps are fine, but have no idea why this happens. This is the UVMap, walls made ...
1
vote
1answer
50 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 ...
0
votes
1answer
11 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, ...
1
vote
0answers
17 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 ...
0
votes
0answers
48 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 ...
0
votes
1answer
35 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 ...
1
vote
0answers
37 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 ...
0
votes
1answer
78 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 ...
2
votes
1answer
961 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 ...
1
vote
1answer
353 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 ...
1
vote
2answers
403 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 ...
-1
votes
3answers
5k 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
0
votes
1answer
88 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 ...
4
votes
1answer
899 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-...
0
votes
1answer
423 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 ...
4
votes
1answer
647 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 ...
1
vote
1answer
96 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?
0
votes
1answer
621 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 ...
1
vote
1answer
191 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 ...
1
vote
0answers
232 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 ...
0
votes
1answer
90 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 ...
1
vote
0answers
160 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 ...
1
vote
0answers
88 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? ...
1
vote
1answer
82 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 ...
2
votes
1answer
788 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 ...
0
votes
1answer
202 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 ...
0
votes
1answer
122 views

Weird squares everywhere

So in unity I have some weird squares on surfaces of certain objects, which are buildings represented by planes: I don't know what causes it, I tried changing some settings in lighting and material,...
5
votes
1answer
2k views

How do I properly light characters in a Unity scene?

I made a game prototype and want to improve some of rendering the visuals through light baking (which I'm new to). While I was mostly able to do this in my environiments, I'm having issues doing this ...
0
votes
1answer
25 views

LightMap not working properly

I've made a chips bag model for my game: http://imgur.com/JcumRF4 And I textured it like this: http://imgur.com/wpyeACZ and I googled on how to make lightmaps all of them say "Smart UV project" ...
1
vote
0answers
89 views

What variables change the number of lightmaps

I need to know what changes the lightmap size. For example what changes the lightmap from being 2*1024*1024 to 4*1024*1024 - having larger textures or having larger quads (having more models) or ...
1
vote
1answer
436 views

Are lightmaps also considered textures?

I want my game to support phones with max texture size of 1024 so my texture atlases are 1024. My question is: are lightmaps also considered textures and their max size must be 1024? Or they can have ...
1
vote
0answers
268 views

Blending Lightmaps and Dynamic Texture Shadows in HLSL/GLSL

I'm using Gile[s] as my lightmapper and my engine can execute GLSL/HLSL scripts. I would like to accomplish something like this for performance reasons. I was told that this technique can only be ...
1
vote
0answers
59 views

Trouble with Lightmaps When Meshes Intersect

I've been working on making lightmaps for a game on mobile devices (meaning that individual texture sizes cannot exceed 2048 and that file size needs to be as small as possible), but I'm running into ...
0
votes
1answer
152 views

Unifying Texture-, Bump- and Lightmapping

I would like to implement a rendering component that makes use of texture-, bump- and light mapping. Unfortunately, I am a little bit stuck on some implementation details. In particular, Does each ...
0
votes
0answers
242 views

How to generate Normal Maps from Lighting Profiles?

How might I go about generating a normal map from a lighting profile(light map)? I saw "Sprite Lamp" however, if possible, if there is some sort of math I can do myself to convert a lighting profile ...
3
votes
2answers
408 views

Rasterization Rules and States

This thread directly concerns lightmap generation; however, indirectly, the rasterization of polygons by the GPU. I am currently generating lightmaps using a pixel shader. To the shader I send 3 ...
3
votes
1answer
1k views

Finding Pixels within UV Coordinates

I am building lightmaps for 3D models. My lightmap algorithm needs to determine which pixels( lumels ) within the lightmap texture fall within the boundary of a mesh face( triangle )...this process ...
5
votes
1answer
2k views

Lightmapped prefabs for procedural content

I'm doing a game with procedural content from handmade prefabs, but I ran into a problem as Unity bakes the scene instead of objects when lightmapping with Beast. So when the prefabs are instanced ...
2
votes
1answer
2k views

Rendering lightmaps at runtime

I'm creating a procedural terrain system for Unity. And I'm looking for ways to efficiently cast self-shadows on it. If it wasn't procedural, I could simply bake a lightmap using Beast. But, I can't ...
2
votes
2answers
1k views

UV Atlas Generation and Seam Removal

I'm generating light maps for scene mesh objects using DirectX's UV Atlas Tool( D3DXUVAtlasCreate() ). I've succeeded in generating an atlas, however, when I try to render the mesh object using the ...
1
vote
1answer
1k views

Light Map Generation using DirectX

I'm trying to build lightmaps for an engine I'm working on. I'm using DirectX 9 w/c++ but my questions are related to the methodology behing the generation of light maps. I have a scene built from ...
2
votes
1answer
1k views

Lightmapping & runtime combine children

Is it possible to have lightmapping on runtime generated combine children in Unity? It is possible to bake combined meshes when they are done in the editor, but the .apk/.ipa size increases too much.
0
votes
1answer
221 views

Weird rendering issue when applying lightmap through HLSL

I have a weird issue when trying to render the lightmaps in my game. Please see the following screenshots. Note how the scene looks up close with the lightmaps enabled. Note how that same part of ...
16
votes
3answers
7k views

How do I blend 2 lightmaps for day/night cycle in Unity?

Before I say anything else: I'm using dual lightmaps, meaning I need to blend both a near and a far. So I've been working on this for a while now, I have a whole day/night cycle set up for renderers ...