Jump to content
Sign in to follow this  
  • entries
    234
  • comments
    427
  • views
    115027

Engine Glow Working... Finally!

Sign in to follow this  
Battagline

160 views

I finally got the Engine Glow working in Epoch Star. As soon as I have retextured my space ships to take advantage of the new effect I will have it out there. Earlier I had a problem with my stencil buffer. As it turns out, I was unable to create a second stencil buffer that fit my glow texture. As a result, If I reduced my glow surface to less than 800 x 600, I was not able to use a stencil buffer... but if I left it at 800 x 600, my pixel shader performance was devastating my frame rate. I finally created a third "Reduced" texture that was 400x300. I rendered my glow polys to my glow surface which used the same stencil as my back buffer. I then switched my render target to my reduced surface, and rendered my glow surface to it. With this new reduced glow surface, I was able to create my glow effect with reasonable performance.

Here's a Screen Shot:

Epoch Star - Space RPG
Sign in to follow this  


0 Comments


Recommended Comments

There are no comments to display.

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
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!