• Breaking News

    Problem with orthogonal matrix Hello everyone, A few weeks ago I started working on an OpenGL framework because I want to learn graphics programming. But now that I have a basic lighting diffuse shader I want to use shadowmapping to create the shadows, and I have read several webs about matrices, but I cannot figure out what is going on with the orthogonal matrix that I need to render the scene from the light position. I leave the code here: What I see when I use the orthogonal matrix on the camera: What I see with the perspective matrix: Thanks in advance. https://ift.tt/eA8V8J

    Hello everyone, A few weeks ago I started working on an OpenGL framework because I want to learn graphics programming. But now that I have a basic lighting diffuse shader I want to use shadowmapping to create the shadows, and I have read several webs about matrices, but I cannot figure out what is going on with the orthogonal matrix that I need to render the scene from the light position. I leave the code here: What I see when I use the orthogonal matrix on the camera: What I see with the perspective matrix: Thanks in advance.

    from GameDev.net https://ift.tt/2WEfAmz

    ليست هناك تعليقات

    Post Top Ad

    ad728

    Post Bottom Ad

    ad728