tag:blogger.com,1999:blog-2655089194160110106.post3449085760523489165..comments2023-09-08T07:27:14.857-07:00Comments on Simon schreibt.: Sacred 2 - Burning MapUnknownnoreply@blogger.comBlogger4125tag:blogger.com,1999:blog-2655089194160110106.post-83235663583196952672013-08-23T08:49:17.020-07:002013-08-23T08:49:17.020-07:00Hi good to hear that you like my articles :) Thank...Hi good to hear that you like my articles :) Thank you!<br /><br />In fact i love it when people share their stuff in the comments. It's awesome to get in contact with other guys and their work. But for me the link wasn't working so here's the correct one:<br /><br />http://florian-noirbent.com/blog/shader-disparition-dobjets/<br /><br />Really nice effect!Simonhttps://www.blogger.com/profile/11771279301864458943noreply@blogger.comtag:blogger.com,1999:blog-2655089194160110106.post-37182099477145523302013-08-22T04:09:22.250-07:002013-08-22T04:09:22.250-07:00Hi,
I just found your blog and there is a lot of i...Hi,<br />I just found your blog and there is a lot of interesting stuff, keep up the good work.<br />I hope it wont be seen as advertising, but I made an Fx like this few weeks ago (but in 3D) with unity's surface shader. This is not a big deal, but the source is available if you want to check it out: http://florian-noirbent.com/blog/en/disappear-objects-shader/ .<br />By the way, the idea of a ramp instead of a plain color for transitions is awesome, maybe I'll update mine.Anonymoushttps://www.blogger.com/profile/07009166729311600718noreply@blogger.comtag:blogger.com,1999:blog-2655089194160110106.post-58865961616563110952013-06-21T10:02:03.688-07:002013-06-21T10:02:03.688-07:00Thank for your comment!
The embarrassing fact is...Thank for your comment! <br /><br />The embarrassing fact is, that i worked on the game and asked the coder who did this effect. But after years some things get forgotten and so he couldn't say exactly how he did it. :DSimonhttps://www.blogger.com/profile/11771279301864458943noreply@blogger.comtag:blogger.com,1999:blog-2655089194160110106.post-91656472560999911252013-06-20T09:25:03.383-07:002013-06-20T09:25:03.383-07:00If I had to guess, I'd say that they have a he...If I had to guess, I'd say that they have a heightmap, and rotate the gradient texture. So lets say your height map goes from 1.0 to 0.0 and you start with a variable X of 0.99<br /><br />Anything at X gets painted yellow, and the lower you go towards 0.0, the more you move to the right of yellow on the alpha mask. Anything above X (to a max of 1.0) gets painted to the left (which is clear).<br /><br />So you draw the screen from the camera, but you draw the map whenever you have alpha pixels. Move X down gradually, from 0.99 to 0.0 and then everything will be alpha (in otherwords, map). Because you're scaling down X, everything that WAS X before is now clear, and the new X is yellow.Anonymoushttps://www.blogger.com/profile/00784124374355849638noreply@blogger.com