|
@@ -99,7 +99,6 @@ export default class XMaterialComponent {
|
|
const width = e.width || 720;
|
|
const width = e.width || 720;
|
|
const height = e.height || 1280;
|
|
const height = e.height || 1280;
|
|
const focus = width / (2 * Math.tan((Math.PI * fov) / 360));
|
|
const focus = width / (2 * Math.tan((Math.PI * fov) / 360));
|
|
- console.error(width, height);
|
|
|
|
(lowModelShader = this._lowModelShader) == null ||
|
|
(lowModelShader = this._lowModelShader) == null ||
|
|
lowModelShader.setVector3(
|
|
lowModelShader.setVector3(
|
|
"focal_width_height",
|
|
"focal_width_height",
|