PDA

View Full Version : Sky dome


StuBurrito
01-06-2010, 01:39 PM
Hi all. I am working on a scene in Unreal and I can't quite figure out how to place a sky shere and keep it lit? I brought in a static mesh with a diffuse texture and put in a skylight and when I go to play in viewport it is still black even after rebuilding the entire scene. Any help would be appreciated.

luke
01-06-2010, 01:52 PM
double click on your skydome, go to static mesh, lighting, untick these accepts dynamic lights, accepts lights and cast shadow

StuBurrito
01-06-2010, 02:23 PM
Thanks Luke. I tried all of that and it still wont light while playing in game mode. I even tried flipping the normals in Max and re-exporting still nadda.

luke
01-06-2010, 02:45 PM
are you using UDK or UE3? i guess u've hit build lighting ^^ I'm not sure if skylights are nessarry in UDK because of the GI that comes with the other lights, do any other lights cast ingame? my knowledge of UDK is limited atm so I'm sure someone else will be along shortly if the above doesnt work :)

Sage
01-06-2010, 03:00 PM
try adding a glow map to it so it doesn't receive shadows.

StuBurrito
01-06-2010, 03:25 PM
I'm using UDK and yes I did build the lighting. Your right I just found out that skylights are for legacy only really. I think perhaps I just have the material set up wrong. I think I'll open one of the maps in UDK and try and deconstruct it. Thanks guys. Hopefully I can get it to work properly.

Ben Apuna
01-06-2010, 06:28 PM
It's a combination of what Sage (http://boards.polycount.net/member.php?u=13883) and luke (http://boards.polycount.net/member.php?u=29504) are saying.

Do what luke (http://boards.polycount.net/member.php?u=29504) said for the skydome's actual static mesh in the level.

Then within the sky's material make sure the texture goes into to the Emissive rather than Diffuse input and set the material's Lighting Mode from MLM_Phong to MLM_Unlit.

Then do a lighting build.

DEElekgolo
01-06-2010, 07:33 PM
Might as well ask this here, how would I get a 32 bit HDR image as my sky dome?

Ben Apuna
01-06-2010, 07:38 PM
I've never tried it, but I see a TC_HighDynamicRange compression setting when importing textures. Give it a try and let us know :)

DEElekgolo
01-06-2010, 07:43 PM
But will it tone map properly?

StuBurrito
01-07-2010, 05:10 AM
You guys where all right. I had to switch what Luke said and change the material to Unlit and plug it in as emissive. Now I just have to make a sky that doesn't look like garbage lol. Thanks guys