GoldenEye: Source Forums

  • December 15, 2019, 03:04:36 am
  • Welcome, Guest
Advanced search  

News:

Pages: [1]   Go Down

Author Topic: Displacements and Lighting Issue  (Read 2403 times)

0 Members and 1 Guest are viewing this topic.

RogerMooreSucks

  • 00 Agent
  • ***
  • Posts: 244
  • Reputation Power: 0
  • RogerMooreSucks is looked down upon.RogerMooreSucks is looked down upon.RogerMooreSucks is looked down upon.RogerMooreSucks is looked down upon.RogerMooreSucks is looked down upon.RogerMooreSucks is looked down upon.RogerMooreSucks is looked down upon.RogerMooreSucks is looked down upon.RogerMooreSucks is looked down upon.RogerMooreSucks is looked down upon.RogerMooreSucks is looked down upon.RogerMooreSucks is looked down upon.
  • Offline Offline
Displacements and Lighting Issue
« on: May 30, 2016, 06:36:34 am »

I have encountered an issue on my snowblind level. For some odd reason every time i put light entities near my displacements it creates some line where each displacement ends and starts. I have a few pictures to show you what it is doing, maybe someone has an idea on a work around on this. I had to take out the light entities to fix it hence why my map was dark in the trailers i posted due to not understanding how to fix this. Here are the screenshots I took of the issue:

http://imgur.com/dXcqSQe

http://imgur.com/ZE8oCy7

http://imgur.com/yqPYtI5
Logged
Troy, get back on that treadmill

Torn

  • Moderator
  • Level Designer
  • Secret Agent
  • *****
  • Posts: 84
  • Reputation Power: 169
  • Torn is awe-inspiring!Torn is awe-inspiring!Torn is awe-inspiring!Torn is awe-inspiring!Torn is awe-inspiring!Torn is awe-inspiring!Torn is awe-inspiring!Torn is awe-inspiring!Torn is awe-inspiring!Torn is awe-inspiring!Torn is awe-inspiring!Torn is awe-inspiring!
  • Offline Offline
Re: Displacements and Lighting Issue
« Reply #1 on: May 30, 2016, 08:53:16 am »

This is an issue of the lightmaps not lining up with eachother, which can be (usually) corrected by making sure the 2 displacements in question first have their vertices aligned, then aligning the textures. If the vertices are not aligned (IE: you have 1 displacement that is much wider than the other) the lightmaps won't line up and this is the result.

Alternatively, playing with the lightmap scale itself will sometimes mask that effect.
Logged
Official Releases: Dam / Egyptian
Community Releases: Quake - E1M7 / Blockfort

RogerMooreSucks

  • 00 Agent
  • ***
  • Posts: 244
  • Reputation Power: 0
  • RogerMooreSucks is looked down upon.RogerMooreSucks is looked down upon.RogerMooreSucks is looked down upon.RogerMooreSucks is looked down upon.RogerMooreSucks is looked down upon.RogerMooreSucks is looked down upon.RogerMooreSucks is looked down upon.RogerMooreSucks is looked down upon.RogerMooreSucks is looked down upon.RogerMooreSucks is looked down upon.RogerMooreSucks is looked down upon.RogerMooreSucks is looked down upon.
  • Offline Offline
Re: Displacements and Lighting Issue
« Reply #2 on: May 30, 2016, 10:23:49 am »

This is an issue of the lightmaps not lining up with eachother, which can be (usually) corrected by making sure the 2 displacements in question first have their vertices aligned, then aligning the textures. If the vertices are not aligned (IE: you have 1 displacement that is much wider than the other) the lightmaps won't line up and this is the result.

Alternatively, playing with the lightmap scale itself will sometimes mask that effect.

Big thanks Torn :D. i will try that out.
Logged
Troy, get back on that treadmill

MultiplayerX

  • HACKER! / Indie Mapper / Half Life 2 Scientologist
  • Agent
  • *
  • Posts: 36
  • Reputation Power: 36
  • MultiplayerX has a powerful will.MultiplayerX has a powerful will.MultiplayerX has a powerful will.MultiplayerX has a powerful will.MultiplayerX has a powerful will.MultiplayerX has a powerful will.MultiplayerX has a powerful will.
  • Offline Offline
    • Code Legends
Re: Displacements and Lighting Issue
« Reply #3 on: May 30, 2016, 12:17:57 pm »

Honestly I wouldn't worry too much about it. There are maps in gesource that have misaligned textures etc but have been TWEAKED to where they are barely noticeable. This is a HALF LIFE ENGINE limitation and nothing I would lose sleep over  8)

P.S.   map looks good dewd   ;)
Logged

RogerMooreSucks

  • 00 Agent
  • ***
  • Posts: 244
  • Reputation Power: 0
  • RogerMooreSucks is looked down upon.RogerMooreSucks is looked down upon.RogerMooreSucks is looked down upon.RogerMooreSucks is looked down upon.RogerMooreSucks is looked down upon.RogerMooreSucks is looked down upon.RogerMooreSucks is looked down upon.RogerMooreSucks is looked down upon.RogerMooreSucks is looked down upon.RogerMooreSucks is looked down upon.RogerMooreSucks is looked down upon.RogerMooreSucks is looked down upon.
  • Offline Offline
Re: Displacements and Lighting Issue
« Reply #4 on: May 30, 2016, 12:48:03 pm »

The issue has now been fixed. Thanks Torn.
Logged
Troy, get back on that treadmill

Mangley

  • Leads The Art
  • Lead Artist
  • 007
  • *****
  • Posts: 1,850
  • Reputation Power: 233
  • Mangley is awe-inspiring!Mangley is awe-inspiring!Mangley is awe-inspiring!Mangley is awe-inspiring!Mangley is awe-inspiring!Mangley is awe-inspiring!Mangley is awe-inspiring!Mangley is awe-inspiring!Mangley is awe-inspiring!Mangley is awe-inspiring!Mangley is awe-inspiring!Mangley is awe-inspiring!
  • Offline Offline
Re: Displacements and Lighting Issue
« Reply #5 on: May 30, 2016, 12:52:35 pm »

Awesome!  :)

Torn is correct, unlike brush geometry where lightmaps are mapped to world tangent XY space dispacement lightmaps are mapped to the displacement's lightmap UVs are clamped to the displacement vertex positions along projected face normal of the brush face(s) you built the displacement from. Displacement faces from the same brush are also considered to be in the same smoothing group - which is something to keep in mind also if you're using advanced techniques with displacements.
Logged
Concept Artist, Environment Artist, Effects Artist, Sound Designer
Pages: [1]   Go Up