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

Introduced a near clip plane setting #22

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

Conversation

kaisalmon
Copy link

Hi!

I needed to be able to control the near clip plane in order to capture any interior scenes for my series of "Outer Wilds Reimagined as Disco Elysium". This was because, to create a pseudo-isometric perspective, I had a tiny tiny FOV 2° and the camera really really far away. But this meant that I was restricted to taking screenshots only in wide open areas.

This addition allows the near clip plane to be modified, so that objects near to the camera can be hidden

Examples of low FOV screenshots not possible without this addition:
Screenshot (60)
Screenshot (65)

@kaisalmon
Copy link
Author

While i'm at it, does any one know any way to remove the fog that's desaturating the screenshots? Currently I'm post processing them to do my best to undo the damage

@@ -20,7 +20,8 @@ class MainClass : ModBehaviour

private InputMode _storedMode;
private int _fov;
private ICommonCameraAPI _commonCameraAPI;
private int _nearClipPlane;
private ICommonCameraAPI _commonCameraAPI;
Copy link
Author

Choose a reason for hiding this comment

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

Really sorry, I can't seem to see why the white space has gone funky :(

Is it because I'm using Windows, perhaps?

@kaisalmon
Copy link
Author

image
image

Color grading can undo most of the damage the fog does, so a fog work around isn't vital to justify this change

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.

1 participant