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

Render Sky Plane #73

Open
ataulien opened this issue Aug 4, 2019 · 0 comments
Open

Render Sky Plane #73

ataulien opened this issue Aug 4, 2019 · 0 comments
Labels
enhancement New feature or request

Comments

@ataulien
Copy link
Contributor

ataulien commented Aug 4, 2019

In Gothic 1, the sky is rendered as a plane. This has been implemented in REGoth before, so the old implementation can serve as a reference:

https://github.com/REGoth-project/REGoth/blob/master/src/render/SkyRendering.cpp

In the new implementation, I suggest creating a component which takes care of rendering the sky. A plane-mesh is available inside bsf and can be retrieved like this:

  bs::HMesh planeMesh = bs::gBuiltinResources().getMesh(bs::BuiltinMesh::Quad);

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