Directx 11 HLSL Glow Effect

Started by
3 comments, last by mrheisenberg 11 years, 7 months ago
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.

FastCall22: "I want to make the distinction that my laptop is a whore-box that connects to different network"

Blog about... stuff (GDNet, WordPress): www.gamedev.net/blog/1882-the-cuboid-zone/, cuboidzone.wordpress.com/

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

I think this will be perfect for you: http://www.rastertek.../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


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

FastCall22: "I want to make the distinction that my laptop is a whore-box that connects to different network"

Blog about... stuff (GDNet, WordPress): www.gamedev.net/blog/1882-the-cuboid-zone/, cuboidzone.wordpress.com/

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!

[quote name='mrheisenberg' timestamp='1346844026' post='4976774']
I think this will be perfect for you: http://www.rastertek.../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


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

This topic is closed to new replies.

Advertisement