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

data-textures: Mention (data in texture)=(data supplied)/255? #405

Open
SuperKenVery opened this issue Jul 6, 2022 · 0 comments
Open

data-textures: Mention (data in texture)=(data supplied)/255? #405

SuperKenVery opened this issue Jul 6, 2022 · 0 comments

Comments

@SuperKenVery
Copy link

I think it's worth mentioning that, if you have a texture of type LUMINANCE, when you read its content in shader, the shader value will be the value you supplied/255.

If we want to pass something other than colors, say, a gaussium matrix, this would be really important.

I write my codes based on this concept and it works perfectly.

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

1 participant