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

Clip space の near plane を取得できるようにする #123

Open
lriki opened this issue Feb 9, 2020 · 0 comments
Open

Clip space の near plane を取得できるようにする #123

lriki opened this issue Feb 9, 2020 · 0 comments

Comments

@lriki
Copy link
Collaborator

lriki commented Feb 9, 2020

OpenGL 系と DirectX 系で異なる。

UNITY_NEAR_CLIP_VALUE のようなマクロで、シェーダ内で取得できるようにする。
https://answers.unity.com/questions/1443941/shaders-what-is-clip-space.html

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

No branches or pull requests

1 participant