Skip to content

Incorrects shadows. #81

@IvanPopov

Description

@IvanPopov

In some cases, shadows drawn with "holes."
The matter is one of the optimizations from Igor.

Fast fix:
In ShadowCaster.ts change strings to:

var fCameraMinX = -1;//akra.math.max(pCameraBox.x0, -1);
var fCameraMaxX = 1;//akra.math.min(pCameraBox.x1, 1);

var fCameraMinY = -1;//akra.math.max(pCameraBox.y0, -1);
var fCameraMaxY = 1;//akra.math.min(pCameraBox.y1, 1);

Metadata

Metadata

Assignees

Labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions