|
@@ -88,7 +88,7 @@ THREE.SAOShader = {
|
|
|
" #if PERSPECTIVE_CAMERA == 1",
|
|
|
" return perspectiveDepthToViewZ( depth, cameraNear, cameraFar );",
|
|
|
" #else",
|
|
|
- " return orthoDepthToViewZ( depth, cameraNear, cameraFar );",
|
|
|
+ " return orthographicDepthToViewZ( depth, cameraNear, cameraFar );",
|
|
|
" #endif",
|
|
|
"}",
|
|
|
|