Thought I’d share this here. There’s a 2-part video tutorial up on youtube, showing how to script and set up a similar highlighter to that in the Deus Ex: Human Revolution game.
Part one is here:
Part two is here:
Hope this is useful!
Thought I’d share this here. There’s a 2-part video tutorial up on youtube, showing how to script and set up a similar highlighter to that in the Deus Ex: Human Revolution game.
Part one is here:
Part two is here:
Hope this is useful!
Cool, Thanks for sharing!!
Very nice… Looks like something that could be put to great use! Keep it up!
Nice idea.
That said the video quality makes it hard to read the script you are typing and -more important- the shader script isn’t shown in its entirety.
Could you provide both scripts here, please?
@lazalong thanks for the feedback! Looking at it again, I’ll use a different encoder for video next time: it is hard to read text with that compression. I’ve attached the scripts and the shader here so you can see what I was doing.
705712–25423–$OutlineBumped.shader (3.27 KB)
705712–25424–$InteractiveHotspotScript.cs (274 Bytes)
705712–25425–$PlayerInteractionScript.cs (1.25 KB)
Inst this shader from Unify?
@BrUnO XaVIeR it is indeed, I do mention this in the video and placed a link in the youtube description, but it seemed to make sense to post it here along with the scripts.
really nice! just saw the preview but will follow this when I come home, thanks
are these videos still available ? I went to check this out but it says they appear to be private.
I’m interested in how you did this. Is there a chance you can make the videos public again?
alptraum Nerdysimmer, the shader and scripts are in the 4th post if you want to check them out.
As for the videos, I agree, I’d definitely like to see these up again - I have a vague recollection of them being pretty useful the first time I saw them.
Thanks. This is exactly what I need for my current project.
Still can’t view the videos on YouTube. I’d love to watch the tiutorial
I’ve been playing with this for a while now and I can’t get it quite right.
The sample code just swaps out the shader for the current main material. This clobbers the fancy shader I already have applied.
Can somebody suggest a way I could overlay this outline effect without removing the shader already applied?
I tried creating a second material on the mesh renderer with Alpha channel set to fully transparent (0,0,0,255), but this applies a white matte material over the fancy main material. Ugh!
I feel like I’m 99% there and overlooking an obvious error.