How to add shadow from directional light in deffered rendering
gamedev.net
I have shader for geometry pass and for light pass, I understand theory how it should works, but when I try to implement this, my brain explode. Could some one explain me how could I implement shadows from my directional light here ?******************** GEOMETRY SHADER *************************cbuffer ProjectionBuffer : register(b0){ matrix projectionMatrix;};cbuffer ViewBuffer : register(b1)
0 Commentarii ·0 Distribuiri ·118 Views