Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CesiumSunSky should allow atmosphere adjustment Actor to be specified #1467

Open
kring opened this issue Jul 2, 2024 · 0 comments
Open

CesiumSunSky should allow atmosphere adjustment Actor to be specified #1467

kring opened this issue Jul 2, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@kring
Copy link
Member

kring commented Jul 2, 2024

CesiumSunSky adjusts the atmosphere at runtime in order to render a correct-looking globe even though Unreal's SkyAtmosphere incorrectly assumes the Earth is a sphere. The adjustment is a function of the position of the viewer, which it currently obtains using the location of the pawn returned by UGameplayStatics::GetPlayerPawn(pWorld, 0). This is not the right choice in all applications.

We should add a property to CesiumSunSky to let users specify a different Actor to guide the atmosphere adjustment.

As reported here:
https://community.cesium.com/t/blotchy-global-view-in-unreal-engine/33318

@kring kring added the enhancement New feature or request label Jul 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant