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

Skip to content

Conversation

@agreppin
Copy link
Contributor

@agreppin agreppin commented Jul 8, 2021

  • display them as FlippedTexture in UI / objects preview
  • check shader program link status

@agreppin
Copy link
Contributor Author

Here is a minimal example using texelFetch.
texelFetch uses texture space coordinates to access pixels [0, size-1].

As of SHADERed 1.5.4, the logic of the texture VFlip feature is not clear. When using texelFetch in a shader, I must enable the VFlip checkbox, but the texture preview is now inverted ... which is confusing.

Attachment: quad0.zip
PS: please read this dicussion: How do you deal with images being inverted?

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.

1 participant