How can I create a border/outline on a ModelEntity in RealityKit?
Something like this blue border in Reality Composer:
CodePudding user response:
You can achieve this effect in two ways: either using Metal features, or natively in RealityKit (but sometimes with some artifacts). In RealityKit, such an outline could be rendered with
P. S.
In your case, the name of a rook is:
.findEntity(named: "chess_rook_white_base_iconic_lod0")