mirror of
https://github.com/OpenSpace/OpenSpace.git
synced 2026-04-28 14:59:31 -05:00
Merge remote-tracking branch 'origin/feature/rosetta-shadowmapping' into feature/rosetta
This commit is contained in:
@@ -73,6 +73,8 @@ void main() {
|
||||
projected.x /= projected.w;
|
||||
projected.y /= projected.w;
|
||||
|
||||
projected = projected * 0.5 + vec4(0.5);
|
||||
|
||||
vec3 normal = normalize((ModelTransform*vec4(vertex.xyz,0)).xyz);
|
||||
|
||||
vec3 v_b = normalize(boresight);
|
||||
|
||||
Reference in New Issue
Block a user