logo
Main

Forums

Downloads

Unreal-Netiquette

Donate for Oldunreal:
Donate

borderline

Links to our wiki:
Wiki

Walkthrough

Links

Tutorials

Unreal Reference

Usermaps

borderline

Contact us:
Submit News
Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic Awful Skybox Seams (Read 528 times)
dustinechoes849
Senior Member
****
Offline


General Protection Fault!

Posts: 346
Location: /home/dustinechoes849/unreal/
Joined: Feb 28th, 2015
Gender: Male
Awful Skybox Seams
May 19th, 2018 at 2:35am
Print Post  
Hiya!
It's been awhile since I've played/mapped for Unreal or visited these forums. This morning, I decided to start mapping again.

Anyway...

So I'm having a bit of trouble with a pre-rendered skybox, and need help.





LOOK AT THOSE SEAMS
they're 10x worse in-game


I have the skybox unlit and with "bright corners" enabled.
It distracts from my chunky low-res skybox!!! Cheesy
  


don't bother trying to message me over AIM, I haven't used that in years lol
I have a Discord, the number thingie is #6413
Back to top
IP Logged
 
Hellkeeper
Global Moderator
*****
Offline


Soulless Automaton

Posts: 2780
Location: France
Joined: May 21st, 2008
Gender: Male
Re: Awful Skybox Seams
Reply #1 - May 19th, 2018 at 12:09pm
Print Post  
Pre-rendered skyboxes always do this in UT99.
The easiest way to correct it is to export your skybox textures and fake clamping.
Say your texture is 256*256, you export it and put it at the center of a 512*512 texture. Then select a 256*1 line of pixels at the very top of your texture and duplicate this line above the texture up to the edge of the 512*512 drawing zone. Repeat this for the 4 sides of the 6 textures of your render.



Then use these textures for your skybox. Keep the same scale and the same size for your surfaces, just center the "normal" part of your textures on the faces and the edges will blend smoothly into each other.

This problem is caused by the filtering of textures in D3D and OpenGL It blends the outermost lines of pixels of a texture together, creating the seams. UT2004 includes a Clamp mode for texture which does exactly what I described : it stretches the edges of textures. Since adjacent faces of a skybox have similar edges, they then blend nicely together. With normal filtering, each edge has a seam where it blends with the other side of itself.
  

You must construct additional pylons.
Back to top
WWW  
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint
Bookmarks: del.icio.us Digg Facebook Google Google+ Linked in reddit StumbleUpon Twitter Yahoo