Skip to content

Adding pixelMask example - #324

Merged
fjtrujy merged 1 commit into
pspdev:masterfrom
fjtrujy:pixelMaskExample
Aug 14, 2025
Merged

fjtrujy merged 1 commit into
pspdev:masterfrom
fjtrujy:pixelMaskExample

Conversation

@fjtrujy

@fjtrujy fjtrujy commented Aug 14, 2025

Copy link
Copy Markdown
Member

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
Copy Markdown
Member

Odd, the build failed

@fjtrujy

fjtrujy commented Aug 14, 2025

Copy link
Copy Markdown
Member Author

Odd, the build failed

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

@sharkwouter sharkwouter left a comment

Copy link
Copy Markdown
Member

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