planetarium
planetarium copied to clipboard
Improve visual quality of rendering.
The result in the sketch window seems visually inferior to what should be expected. Tried increasing the cubemapSize variable, doesn’t seem to make a difference. Tried setting texture sampling to linear, looks slightly better imho, but still does not cut it. What could be the problem? Mipmapping? Precision in the shader?
Using pixelDensity() makes the graphics crisper on a retina screen. (which reminds me, that maybe this issue is inherent to highdpi displays) But then the rendering of the cubemap is off, the cameras don’t seem to capture the whole image.