Skip to content

Conversation

@njibhu
Copy link
Owner

@njibhu njibhu commented Dec 4, 2020

Using a cubetexture would make the rendering setup much easier but this is not a priority since the existing setup doesn't seem to have much impact on the performances.

const height = texture.image.height;
const data = texture.image.data;

const newWidth = width / 2;
Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is actually wrong, the height is sliced, not the width

@njibhu njibhu force-pushed the master branch 4 times, most recently from 0cec9f6 to ff07381 Compare March 16, 2021 21:19
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