Jump to content

  • Log In with Google      Sign In   
  • Create Account

Interested in a FREE copy of HTML5 game maker Construct 2?

We'll be giving away three Personal Edition licences in next Tuesday's GDNet Direct email newsletter!

Sign up from the right-hand sidebar on our homepage and read Tuesday's newsletter for details!


We're also offering banner ads on our site from just $5! 1. Details HERE. 2. GDNet+ Subscriptions HERE. 3. Ad upload HERE.


Directx 11 HLSL Glow Effect


Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.

  • You cannot reply to this topic
4 replies to this topic

#1 Migi0027 =A=   Crossbones+   -  Reputation: 1947

Like
0Likes
Like

Posted 05 September 2012 - 05:07 AM

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.
Hi! Cuboid Zone
The Rule: Be polite, be professional, but have a plan to kill everyone you meet, ohh, AND STEAL ALL ZE TRIANGLES FROM ZHEM!

Sponsor:

#2 mrheisenberg   Members   -  Reputation: 356

Like
0Likes
Like

Posted 05 September 2012 - 05:20 AM

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

#3 Migi0027 =A=   Crossbones+   -  Reputation: 1947

Like
0Likes
Like

Posted 05 September 2012 - 05:33 AM

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
Hi! Cuboid Zone
The Rule: Be polite, be professional, but have a plan to kill everyone you meet, ohh, AND STEAL ALL ZE TRIANGLES FROM ZHEM!

#4 kauna   Crossbones+   -  Reputation: 2744

Like
0Likes
Like

Posted 05 September 2012 - 07:08 AM

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


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

Cheers!

#5 mrheisenberg   Members   -  Reputation: 356

Like
0Likes
Like

Posted 05 September 2012 - 08:07 AM


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


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




Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.



PARTNERS