IcedBlackTea

Forum Replies Created

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • in reply to: 作业1的正交矩阵参数的疑惑 #8269 Score: 0
    IcedBlackTea
    Participant

    没错没错, 这个参数值太小了, 试了几次以后总算把shadowmap覆盖完整个场景了. 做LearnOpenGL的教程的时候能用renderdoc抓帧看生成的shadowmap, webgl用Spector.js看不到深度图只能全靠画了

    in reply to: 作业1的正交矩阵参数的疑惑 #8194 Score: 0
    IcedBlackTea
    Participant

    你好,想问一下最后你的正交矩阵的参数怎么填的, 我用的以下参数 (learnOpenGL中用的) 但是shadowmap没有成功生成
    mat4.ortho(projectionMatrix, -10.0, 10.0, -10.0, 10.0, 1.0, 10);

Viewing 2 posts - 1 through 2 (of 2 total)