Closed devmiyax closed 6 months ago
Drawn but ignored
all alpha value is 0xC0
YglRenderFrameBufferShadow does not work???
Sprite window function use msb on the frame buffer. VDP1 draws msb with (CMDPMOD & 0x8000) or color CMDCOLR(bank mode). msb on CMDCOLR is cleared in Vdp1ReadPriority. I don't know why. But using this value sprite window function works.
back to main textgure.
YglRenderFrameBufferShadow();
glBindTexture(GL_TEXTURE_2D, YglTM->textureID_in[YglTM->current]);
glBindBuffer(GL_PIXEL_UNPACK_BUFFER, 0);
https://user-images.githubusercontent.com/1174152/198832756-bdd4249a-77e7-45d5-8fa5-4ab79d8e6368.mp4