• Advertisement
Sign in to follow this  

Directx 11 HLSL Glow Effect

This topic is 1961 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Hello people from the underworld called the internet,

I have a small question for you, in Directx 11. How can you make an outline glow effect for an object(Yes, i do understand that i have to pass only this shader for the object.), so it seems like it's kinda selected.

I have seen some examples, but they are all in .fx files, which i don't like.

I appreciate any kind of comment or answer on how this may be made.
Thank You.

Share this post


Link to post
Share on other sites
Advertisement
I think this will be perfect for you: http://www.rastertek.com/dx11tut46.html just create yourself a glowmap with photoshop or paint that matches your model you want to make glow and use his shader example

Share this post


Link to post
Share on other sites
[quote name='mrheisenberg' timestamp='1346844026' post='4976774']
I think this will be perfect for you: [url="http://www.rastertek.com/dx11tut46.html"]http://www.rastertek.../dx11tut46.html[/url] just create yourself a glowmap with photoshop or paint that matches your model you want to make glow and use his shader example
[/quote]

Yea but i would like to generate the glow effect in the hlsl

Share this post


Link to post
Share on other sites
[quote]I have seen some examples, but they are all in .fx files, which i don't like.[/quote]

What prevents you from stripping the needed parts from the .fx files and placing them in files which suit you more?

Cheers!

Share this post


Link to post
Share on other sites
[quote name='Migi0027' timestamp='1346844810' post='4976777']
[quote name='mrheisenberg' timestamp='1346844026' post='4976774']
I think this will be perfect for you: [url="http://www.rastertek.com/dx11tut46.html"]http://www.rastertek.../dx11tut46.html[/url] just create yourself a glowmap with photoshop or paint that matches your model you want to make glow and use his shader example
[/quote]

Yea but i would like to generate the glow effect in the hlsl
[/quote]

It is in HLSL,scroll down the tutorial and you'll see the shader files,just instead of glow maps,instead of sampling the glowmap just set some predefined value for all pixel and the entire model will glow

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement