Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[info] a shader that displays a png image. #649

Open
0wwafa opened this issue Nov 13, 2024 · 6 comments
Open

[info] a shader that displays a png image. #649

0wwafa opened this issue Nov 13, 2024 · 6 comments

Comments

@0wwafa
Copy link

0wwafa commented Nov 13, 2024

I wish to have a shader that instead of the "source" displays a PNG image.

I have no idea how to do so.

@0wwafa
Copy link
Author

0wwafa commented Nov 13, 2024

I need it so I can test some shaders with a known source.

@hizzlekizzle
Copy link
Collaborator

You can just load the image directly in RetroArch via 'load content'. Many of the shader authors do this for testing specific scenes/images.

@0wwafa
Copy link
Author

0wwafa commented Nov 13, 2024

You can just load the image directly in RetroArch via 'load content'. Many of the shader authors do this for testing specific scenes/images.

yep I know that but I am not using retroarch but DENISE emulator.

@hizzlekizzle
Copy link
Collaborator

in that case, you can use the imgborder shader. Just don't have an alpha cutout and it'll cover the whole image.

@0wwafa
Copy link
Author

0wwafa commented Nov 14, 2024

in that case, you can use the imgborder shader. Just don't have an alpha cutout and it'll cover the whole image.

It does not work for me. I need a simple shader that takes a PNG and use it as SOURCE instead of the emulator (Denise Emulator) so that I can use it to fine tune shaders.

@hizzlekizzle
Copy link
Collaborator

works fine here.

imgborder looks for a texture named 'pvm.png' in the borders/textures directory. You can either edit imgborder.slangp to point to some other image or you can rename your image to 'pvm.png' and overwrite the existing one.

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

No branches or pull requests

2 participants