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

GetPixelAtPoint() function for texture class #189

Open
matt-comm-link opened this issue Feb 23, 2024 · 1 comment
Open

GetPixelAtPoint() function for texture class #189

matt-comm-link opened this issue Feb 23, 2024 · 1 comment

Comments

@matt-comm-link
Copy link

I've been working on a function to get the colour of a pixel (as a Vec4) at a specified location for heightmap terrain in a project I'm working on.

I'd like to propose adding a function like that into the texture class proper. I'm still working on my implementation, and I'm not familiar enough with 4bpp pngs to have implemented anything for that just yet, so I won't submit a PR at the moment, but am thinking of doing so when I've battle tested things a little more.

@Wellinator
Copy link
Contributor

That'd be very helpful. I've needed it before.

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