Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@fjtrujy
Copy link
Member

@fjtrujy fjtrujy commented Aug 14, 2025

Description

Adding a GU example where we show how to use the sceGuPixelMask functionality.

This test uses a texture that is split into 4 different colored columns: RED, GREEN, BLUE, and WHITE.
Thanks to sceGuPixelMask, we can just draw concrete pixels on the screen, ignoring the masked ones.

Every 2 seconds, we change the mask values, generating:

all
red
green
blue

Cheers

@sharkwouter
Copy link
Member

Odd, the build failed

@fjtrujy
Copy link
Member Author

fjtrujy commented Aug 14, 2025

Odd, the build failed

It was a dummy mistake; it is now working.
Cheers

Copy link
Member

@sharkwouter sharkwouter left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Works well, I tested it on a real PSP.

@fjtrujy fjtrujy merged commit cfb7fc3 into pspdev:master Aug 14, 2025
1 check passed
@fjtrujy fjtrujy deleted the pixelMaskExample branch August 14, 2025 18:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants