• Advertisement
  • entries
    232
  • comments
    1463
  • views
    959910

Clouds impostors, continued

Sign in to follow this  

490 views

My impostor manager is now written and seems to work pretty well. It still does not handle changes of resolution, so all my impostors textures have the same size - 256x256. I implemented particles billboarding via a vertex shader and performance is now "okay" - when you're not flying inside the clouds, that is, where fillrate due to overdraw then becomes the bottleneck.

The impostors are refreshed when the angle variation is larger than 1.5 degrees. If you move very quickly (at what i'd call "spaceship speeds"), you then have to update most, if not all impostors, and since each of them requires rendering thousands of particles into a texture, it can slow down quite a lot. However at "jet" speeds (i'd say, up to Mach 10), it averages 50 fps.

I still have to create a priority queue for impostors, so that at high speeds no more than 1 or 2 cloud impostors are updated at a time.

I discovered one minor issue with the "visual quality" of the impostors: for some reason, which i'm trying to understand now, the impostored clouds are displayed with a kind of white "halo" around them. It's subtle but you can notice it in these images:



The cloud in the center of the image is rendered as particles in the left screen, and as an impostor on the right one. Notice the small white halo around the cloud in the right one.
Sign in to follow this  


1 Comment


Recommended Comments

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Advertisement