Posts

Post not yet marked as solved
0 Replies
118 Views
How could I have both pan gesture recognizing (NSPanGestureRecognizer) and mouse capturing (CGAssociateMouseAndMouseCursorPosition(false)) working together? Is it possible at all?
Posted
by wasintw.
Last updated
.
Post marked as solved
1 Replies
132 Views
Hi, Maybe I'm doing something wrong, but form MSL 2.4 spec, sample_compare should return either 0 or 1. I'm on a MBP 16 M1 Pro, Monterey 12.3.1 and Xcode 13.3.1. Now, I'm receiving a value in between. Coordinates, sampler etc.. seems correct: shadow = 0.125: Sorry, in the image is not seen, but "i == 0" and shadow_map is a texture with four slices. Thanks
Posted
by wasintw.
Last updated
.
Post not yet marked as solved
0 Replies
350 Views
Hi, MacOS version: 12.2.1 Xcode version: 13.2.1 I'm using MTKView and setting a drawableSize = 1024,768 and autoResizeDrawable = NO, however, drawableSizeWillChange() is being called on app startup, just once, and never again, with a different drawableSize. Maybe it has to do with incorrect drawable size? Thanks
Posted
by wasintw.
Last updated
.