Skip to content

Orthografic camera, doesn't recognize arguments #1027

@JaimeTorrealba

Description

@JaimeTorrealba

Describe the bug

I was trying to follow this guide https://threejs.org/manual/#en/shadertoy. but the Orthographic camera look like doesn't receive the arguments. You can see in the log of the reproduction link, it comes with some values really random like:
bottom: -379.5 when I pass 1

Am I doing something wrong? or is a TresJs problem?

Reproduction

https://stackblitz.com/edit/tresjs-minimal-reproduction?file=src%2FApp.vue

Steps to reproduce

You can try to pass the arguments :args or individual parameters, look like it doesn't accept it

System Info

  Binaries:
    Node: 20.19.1
    npm: 10.8.2
  npmPackages:
    @tresjs/cientos: ^4.0.3 => 4.0.3 
    @tresjs/core: ^4.3.2 => 4.3.2 

Used Package Manager

npm

Code of Conduct

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions