DOF blur, near and far fields..

This commit is contained in:
Juan Linietsky 2016-12-10 01:13:20 -03:00
parent 18ebd22000
commit 22a90e8f2a
11 changed files with 731 additions and 47 deletions

View file

@ -54,7 +54,7 @@ void CameraMatrix::set_zero() {
}
Plane CameraMatrix::xform4(const Plane& p_vec4) {
Plane CameraMatrix::xform4(const Plane& p_vec4) const {
Plane ret;

View file

@ -80,7 +80,7 @@ struct CameraMatrix {
CameraMatrix operator*(const CameraMatrix& p_matrix) const;
Plane xform4(const Plane& p_vec4);
Plane xform4(const Plane& p_vec4) const;
_FORCE_INLINE_ Vector3 xform(const Vector3& p_vec3) const;
operator String() const;