Project

General

Profile

Bug #13519

The sky looks like crap

Added by Sigma88 almost 8 years ago. Updated over 5 years ago.

Status:
Not Fixed
Severity:
Normal
Assignee:
-
Category:
Camera
Target version:
Start date:
01/04/2017
% Done:

50%

Version:
Platform:
Windows
Expansion:
Language:
English (US)
Mod Related:
No
Votes:
Arrow u r green
Arrow d r red

Description

Description:

The sky looks like crap (see screenshots)

How to reproduce:

1- run KSP, load or create a game, put a vessel on the launch pad
2- time warp untill the sun is at the zenith (use shadows to get it more or less right)
3- zoom out almost at the limit of the zoom
4- look at the sky

Possible solution:

Change AtmosphereFromGround.transform.localScale from 1.025 to 1.05 (see screenshots for result)

at the moment all atmospheric planets have the localScale at 1.025 as far as I can tell. setting it at 1.05 fixes all the issues as far as I can tell.

more specifically, AtmosphereFromGround has a "OuterRadius" which is always 1.025,

right now localscale and outerradius are the same, I found that doubling the distance from 1 of OuterRadius and use that number in AFG.transform.localScale gives always good result

so for OuterRadius = 1.025 you use localScale = 1.05, for OuterRadius = 1.05 you would use localScale = 1.1

etc

right now all atmospheric planets have OuterRadius = 1.025 so all the localScale can be set to 1.05

of course localScale is a vector, so all values (x, y and z) have to be set to 1.05

hope this helped

Screenshot 2017-01-04 10.19.37.png (666 KB) Screenshot 2017-01-04 10.19.37.png crap Sigma88, 01/04/2017 09:39 AM
Screenshot 2017-01-04 10.24.23.png (682 KB) Screenshot 2017-01-04 10.24.23.png not crap Sigma88, 01/04/2017 09:39 AM
screenshot35.jpg (2.91 MB) screenshot35.jpg [email protected] dok_377, 06/26/2017 12:14 AM
Screenshot 2017-07-06 20.07.41.png (564 KB) Screenshot 2017-07-06 20.07.41.png hard black edge Sigma88, 07/06/2017 06:10 PM
screenshot1.png (1.17 MB) screenshot1.png Anth12, 04/13/2019 08:43 AM
26431
26432
30778
30929
45208

History

#1 Updated by bewing over 7 years ago

  • Status changed from New to Ready to Test
  • Target version set to 1.3.0
  • % Done changed from 0 to 80

It doesn't have a hard edge anymore in 1.3.0. Please retest and see if it's good enough.

#2 Updated by dok_377 over 7 years ago

30778

1.3.0 definitely has a hard edge. And on top of that it still has that "layering" effect in the atmosphere, low and high altitudes. 1.1 sure did some help with smoothing that effect, but it's still there. Color gradient in the atmospheres is still way too rough and that white band not looking very good at all.

#3 Updated by Sigma88 over 7 years ago

30929

yeah, I don't think AtmosphereFromGround got changed at all, all parameters are set to the same values as before as far as I can tell.

and the edge is still there.

same steps to reproduce as before:

- put a vessel on the launchpad (don't move the camera)
- zoom out until you see the edge

#4 Updated by Sigma88 over 7 years ago

this appear to be solved on the pre-release 1.3.1

thanks a lot for addressing this issue!

#5 Updated by Sigma88 about 7 years ago

  • Version changed from 1.2.2 to 1.3.1

apparently the fix itroduced in the 1.3.1-prerelease was reverted before release

this issue is still present in 1.3.1 release

#6 Updated by Anth12 over 5 years ago

45208

Been quite a while....but not fixed.

Also available in: Atom PDF