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

Rendering Update #4

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open

Conversation

MichaelMoroz
Copy link

No description provided.

@MichaelMoroz
Copy link
Author

TODO fix reflection bounces and figure out what to do with fresnel underwater

@MichaelMoroz
Copy link
Author

image

@@ -70,7 +70,8 @@ namespace Boolka
void Camera::UpdateInput(float deltaTime, const Vector4& right, const Vector4& up,
const Vector4& forward)
{
static const float defaultMoveSpeed = 15.0f;
//TODO move into separate confing maybe?
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
//TODO move into separate confing maybe?
//TODO make this per scene option

@@ -70,7 +70,8 @@ namespace Boolka
void Camera::UpdateInput(float deltaTime, const Vector4& right, const Vector4& up,
const Vector4& forward)
{
static const float defaultMoveSpeed = 15.0f;
//TODO move into separate confing maybe?
static const float defaultMoveSpeed = 35.0f;
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please don't change default params in master. It's meant for default scene.

Suggested change
static const float defaultMoveSpeed = 35.0f;
static const float defaultMoveSpeed = 15.0f;

@@ -6,9 +6,9 @@
// Configure whether we are going to do additional depth samples to select one of two neighbours along each axis
#define BLK_HIGH_QUALITY_RAY_DIFFERENTIALS 1

#define BLK_REFLECTION_TMIN 0.01f
#define BLK_REFLECTION_TMIN 0.5f
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
#define BLK_REFLECTION_TMIN 0.5f
// TODO Make this per scene option
#define BLK_REFLECTION_TMIN 0.01f

#define BLK_REFLECTION_TMAX 10000.0f
#define BLK_REFRACTION_TMIN 0.001f
#define BLK_REFRACTION_TMIN 0.5f
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
#define BLK_REFRACTION_TMIN 0.5f
#define BLK_REFRACTION_TMIN 0.001f

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants