ageller / Firefly

A WebGL interactive particle viewer
GNU Affero General Public License v3.0
65 stars 13 forks source link

column density texture doesn't resize with window #170

Open agurvich opened 1 year ago

agurvich commented 1 year ago

this leads to pixelation of image if app is started in small window and window is made full screen.

image

it seems to only be an issue with the projection (thank you @ageller for the suggestion) and so it's probably that the texture buffer is initialized to the window size at app startup and never changes. Should (hopefully?) be an easy fix: