brickrail icon indicating copy to clipboard operation
brickrail copied to clipboard

replace shader state matrix by texture

Open Novakasa opened this issue 2 years ago • 1 comments

this might help with current block rendering issues, where I'm guessing the float to int precision doesn't hold up for high values, making some of the states go bad.

Replacing the matrix by an explicit texture of ints will probably help

Novakasa avatar Jun 01 '23 08:06 Novakasa

int textures in godot seem to have issues, this might be a workaround though: https://github.com/godotengine/godot/issues/57841#issuecomment-1408675358

Novakasa avatar Jun 01 '23 09:06 Novakasa