Skip to content

Instantly share code, notes, and snippets.

View findoff's full-sized avatar

abnessor aka findoff findoff

View GitHub Profile
@findoff
findoff / CalculateObliqueMatrix
Created July 8, 2020 11:19 — forked from fuqunaga/CalculateObliqueMatrix
CalculateObliqueMatrix inplement
// https://forum.unity.com/threads/oblique-near-plane-clipping.194722/
public class Clipper : MonoBehaviour
{
Matrix4x4 projection;
Camera offscreenCam;
void Start ()
{
projection = camera.projectionMatrix;
}