Fix [#19602] Rayshadow that goes through transparent plane disappears
(some bugs may show on other places if some of the code isnt prepared to handle non-normalized is->vec)
This commit is contained in:
@@ -376,7 +376,6 @@ int RE_rayobject_raycast(RayObject *r, Isect *isec)
|
||||
RE_RC_COUNT(isec->raycounter->raycast.test);
|
||||
|
||||
/* Setup vars used on raycast */
|
||||
isec->labda *= Normalize(isec->vec);
|
||||
isec->dist = VecLength(isec->vec);
|
||||
|
||||
for(i=0; i<3; i++)
|
||||
|
||||
Reference in New Issue
Block a user