Jump to content

Hlsl Shader Problem


Recommended Posts

Hi i have little big problem :D

I want to apply a bloom shader only on one texture. My idea was to render a screentexture on which only the wanted texture appears on(other textures are black). Then i blend it with the original screensource.But I dont get it :/How can I render a scene from the game with only one texture(other textures must be black).

I tried it but i can only render one scene on one frame. I mean i can only render the original scene or the wanted bloomtexture.The only option which i see is to render each one for one frame.But then i have only the half framerate :(

Link to comment

Well. If you want to see the bloom effect outside the texture ventricles then there is not much to help.

You could apply a layered effect to the texture you want to 'have the bloom effect' - the 'current' should be applied to world texture instead drawn as an image. And shouldn't be rendered at every frame - just on any changes of the renderTarget.

Link to comment

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
  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Create New...