PGD Home

P0-A4: Part 600: Debugging/Refactoring

by on Aug.11, 2019, under Astral Realms, P-0, P0-A4, Software and Games, Spiritus Astrum

I have tried a few solutions to add my current background to the Azure sky asset, which haven’t worked.

However, I have found one that I think will work.

The idea is to render to current skybox into a rendertexture, and then use that rendertexture as the skybox material for the sky background, instead of the texture. This operation is a little slow, but it only needs to be done when the background changes, which happens very ocassionaly.

I am having some issues capturing the render texture and getting it to display properly (The asset requires an equirectangular texture, and converting from a rendertexture to an equirectangular texture causes some seaming and distortion issues), but I am making progress.


Comments are closed.

Looking for something?

Use the form below to search the site:

Still not finding what you're looking for? Drop a comment on a post or contact us so we can take care of it!