{"id":724,"date":"2017-02-28T19:04:27","date_gmt":"2017-02-28T18:04:27","guid":{"rendered":"http:\/\/stefan-loser.de\/wordpress\/?page_id=724"},"modified":"2021-01-27T10:10:38","modified_gmt":"2021-01-27T09:10:38","slug":"rain-post-process-shader","status":"publish","type":"page","link":"https:\/\/stefan-loser.de\/?page_id=724","title":{"rendered":"Rain Post Process Shader"},"content":{"rendered":"\n<p>First there should be at least four features which have to show up: the rain drops themselves, water which is flowing on the surfaces, there should be excluded areas from this effect and refraction which shows up if you take a closer look at the rain flooded surfaces.<br>The rain drops are pretty straight forward: one drop texture which is tiled several times and layered above each other is linear interpolated based on the scene depth. This just gets added to the final scene color.<\/p>\n\n\n\n<p>I wanted to show you an old project of mine where I created a rain post process shader.<\/p>\n\n\n\n<p>The next step is to build up the setup for the water flowing over the surfaces. First we need the World Normal to get information in which direction the water should flow. I have masked out the blue channel since it indicates that the normals point upwards. The rest (one minus this value) is water that flows downwards. Of course the normals have to be normalized at the start to avoid artifacts.<\/p>\n\n\n<div class=\"pgc-sgb-cb wp-block-pgcsimplygalleryblock-grid \" data-gallery-id=\"e38dbeaf_1611648175762\"><div class=\"sgb-preloader\" id=\"pr_e38dbeaf_1611648175762\">\n\t<div class=\"sgb-square\" style=\"background:#d4d4d4\"><\/div>\n\t<div class=\"sgb-square\" style=\"background:#d4d4d4\"><\/div>\n\t<div class=\"sgb-square\" style=\"background:#d4d4d4\"><\/div>\n\t<div class=\"sgb-square\" style=\"background:#d4d4d4\"><\/div><\/div><div class=\"simply-gallery-amp pgc_sgb_slider \" style=\"display: none;\"><div class=\"sgb-gallery\"><div class=\"sgb-item\"><a href=\"http:\/\/stefan-loser.de\/wordpress\/wp-content\/uploads\/2017\/02\/ppshader2.png\"><img decoding=\"async\" alt=\"\" width=\"300\" height=\"149\" loading=\"lazy\" src=\"http:\/\/stefan-loser.de\/wordpress\/wp-content\/uploads\/2017\/02\/ppshader2-300x149.png\" srcset=\"http:\/\/stefan-loser.de\/wordpress\/wp-content\/uploads\/2017\/02\/ppshader2-300x149.png 300w,http:\/\/stefan-loser.de\/wordpress\/wp-content\/uploads\/2017\/02\/ppshader2.png 785w\" sizes=\"auto, 250px\"\/><\/a><\/div><div class=\"sgb-item\"><a href=\"http:\/\/stefan-loser.de\/wordpress\/wp-content\/uploads\/2017\/02\/ppshader1.png\"><img decoding=\"async\" alt=\"\" width=\"300\" height=\"118\" loading=\"lazy\" src=\"http:\/\/stefan-loser.de\/wordpress\/wp-content\/uploads\/2017\/02\/ppshader1-300x118.png\" srcset=\"http:\/\/stefan-loser.de\/wordpress\/wp-content\/uploads\/2017\/02\/ppshader1-300x118.png 300w,http:\/\/stefan-loser.de\/wordpress\/wp-content\/uploads\/2017\/02\/ppshader1-1024x402.png 819w,http:\/\/stefan-loser.de\/wordpress\/wp-content\/uploads\/2017\/02\/ppshader1.png 1233w\" sizes=\"auto, 250px\"\/><\/a><\/div><\/div><\/div><script type=\"application\/json\" class=\"sgb-data\">{\"galleryType\":\"pgc_sgb_grid\",\"galleryId\":\"e38dbeaf_1611648175762\",\"images\":[{\"id\":726,\"title\":\"ppshader2\",\"url\":\"http:\/\/stefan-loser.de\/wordpress\/wp-content\/uploads\/2017\/02\/ppshader2.png\",\"link\":\"http:\/\/stefan-loser.de\/wordpress\/?attachment_id=726\",\"alt\":\"\",\"description\":\"\",\"caption\":\"\",\"mime\":\"image\/png\",\"type\":\"image\",\"width\":785,\"height\":389,\"sizes\":{\"thumbnail\":{\"height\":150,\"width\":150,\"url\":\"http:\/\/stefan-loser.de\/wordpress\/wp-content\/uploads\/2017\/02\/ppshader2-150x150.png\",\"orientation\":\"landscape\"},\"medium\":{\"height\":149,\"width\":300,\"url\":\"http:\/\/stefan-loser.de\/wordpress\/wp-content\/uploads\/2017\/02\/ppshader2-300x149.png\",\"orientation\":\"landscape\"},\"full\":{\"url\":\"http:\/\/stefan-loser.de\/wordpress\/wp-content\/uploads\/2017\/02\/ppshader2.png\",\"height\":389,\"width\":785,\"orientation\":\"landscape\"}},\"meta\":false},{\"id\":725,\"title\":\"ppshader1\",\"url\":\"http:\/\/stefan-loser.de\/wordpress\/wp-content\/uploads\/2017\/02\/ppshader1.png\",\"link\":\"http:\/\/stefan-loser.de\/wordpress\/?attachment_id=725\",\"alt\":\"\",\"description\":\"\",\"caption\":\"\",\"mime\":\"image\/png\",\"type\":\"image\",\"width\":1233,\"height\":484,\"sizes\":{\"thumbnail\":{\"height\":150,\"width\":150,\"url\":\"http:\/\/stefan-loser.de\/wordpress\/wp-content\/uploads\/2017\/02\/ppshader1-150x150.png\",\"orientation\":\"landscape\"},\"medium\":{\"height\":118,\"width\":300,\"url\":\"http:\/\/stefan-loser.de\/wordpress\/wp-content\/uploads\/2017\/02\/ppshader1-300x118.png\",\"orientation\":\"landscape\"},\"large\":{\"height\":322,\"width\":819,\"url\":\"http:\/\/stefan-loser.de\/wordpress\/wp-content\/uploads\/2017\/02\/ppshader1-1024x402.png\",\"orientation\":\"landscape\"},\"full\":{\"url\":\"http:\/\/stefan-loser.de\/wordpress\/wp-content\/uploads\/2017\/02\/ppshader1.png\",\"height\":484,\"width\":1233,\"orientation\":\"landscape\"}},\"meta\":false}],\"itemsMetaDataCollection\":[],\"galleryData\":\"{\\u0022copyRProtection\\u0022:true,\\u0022copyRAlert\\u0022:\\u0022Hello, this photo is mine!\\u0022,\\u0022sliderScrollNavi\\u0022:false,\\u0022sliderNextPrevAnimation\\u0022:\\u0022animation\\u0022,\\u0022galleryScrollPositionControll\\u0022:false,\\u0022sliderItemCounterEnable\\u0022:true,\\u0022sliderCaptionSrc\\u0022:\\u0022caption\\u0022,\\u0022sliderItemTitleEnable\\u0022:false,\\u0022sliderItemTitleFontSize\\u0022:18,\\u0022sliderItemTitleTextColor\\u0022:\\u0022rgba(255,255,255,1)\\u0022,\\u0022itemCounterColor\\u0022:\\u0022rgba(255,255,255,1)\\u0022,\\u0022sliderThumbBarEnable\\u0022:true,\\u0022sliderThumbBarHoverColor\\u0022:\\u0022rgba(240,240,240,1)\\u0022,\\u0022sliderBgColor\\u0022:\\u0022rgba(0,0,0,0.8)\\u0022,\\u0022sliderPreloaderColor\\u0022:\\u0022rgba(240,240,240,1)\\u0022,\\u0022sliderHeaderFooterBgColor\\u0022:\\u0022rgba(0,0,0,0.4)\\u0022,\\u0022sliderNavigationColor\\u0022:\\u0022rgba(0,0,0,1)\\u0022,\\u0022sliderNavigationColorOver\\u0022:\\u0022rgba(255,255,255,1)\\u0022,\\u0022sliderNavigationIconColor\\u0022:\\u0022rgba(255,255,255,1)\\u0022,\\u0022sliderNavigationIconColorOver\\u0022:\\u0022rgba(0,0,0,1)\\u0022,\\u0022sliderSlideshow\\u0022:true,\\u0022sliderSlideshowDelay\\u0022:8,\\u0022slideshowIndicatorColor\\u0022:\\u0022rgba(255,255,255,1)\\u0022,\\u0022slideshowIndicatorColorBg\\u0022:\\u0022rgba(255,255,255,0.5)\\u0022,\\u0022sliderThumbSubMenuBackgroundColor\\u0022:\\u0022rgba(255,255,255,0)\\u0022,\\u0022sliderThumbSubMenuBackgroundColorOver\\u0022:\\u0022rgba(255,255,255,1)\\u0022,\\u0022sliderThumbSubMenuIconColor\\u0022:\\u0022rgba(255,255,255,1)\\u0022,\\u0022sliderThumbSubMenuIconHoverColor\\u0022:\\u0022rgba(0,0,0,1)\\u0022,\\u0022sliderSocialShareEnabled\\u0022:true,\\u0022sliderZoomEnable\\u0022:true,\\u0022sliderFullscreenEnabled\\u0022:true,\\u0022modaBgColor\\u0022:\\u0022rgba(0,0,0,0.8)\\u0022,\\u0022modalIconColor\\u0022:\\u0022rgba(255,255,255,1)\\u0022,\\u0022modalIconColorHover\\u0022:\\u0022rgba(255,255,255,0.8)\\u0022,\\u0022shareFacebook\\u0022:true,\\u0022shareTwitter\\u0022:true,\\u0022sharePinterest\\u0022:true,\\u0022sliderItemDownload\\u0022:true,\\u0022shareCopyLink\\u0022:true,\\u0022tagsFilter\\u0022:false,\\u0022tagCloudAll\\u0022:\\u0022All\\u0022,\\u0022tagCloudBgColor\\u0022:\\u0022rgba(153,153,153,1)\\u0022,\\u0022tagCloudBgColorOver\\u0022:\\u0022rgba(253,253,253,1)\\u0022,\\u0022tagCloudTextColor\\u0022:\\u0022rgba(253,253,253,1)\\u0022,\\u0022tagCloudTextColorOver\\u0022:\\u0022rgba(153,153,153,1)\\u0022,\\u0022tagCloudFontSize\\u0022:16,\\u0022deepLinking\\u0022:false,\\u0022useLightbox\\u0022:true,\\u0022numItemsDisplayed\\u0022:0,\\u0022lazyLoading\\u0022:true,\\u0022contentNoPadding\\u0022:false,\\u0022galleryPreloaderColor\\u0022:\\u0022rgba(230,230,230,1)\\u0022,\\u0022galleryBgColor\\u0022:\\u0022rgba(0,0,0,0)\\u0022,\\u0022galleryBorderRadius\\u0022:0,\\u0022collectionColumns\\u0022:3,\\u0022thumbHieghtRation\\u0022:1,\\u0022collectionThumbRecomendedWidth\\u0022:200,\\u0022thumbSpacing\\u0022:5,\\u0022externalLink\\u0022:true,\\u0022externalLinkDefName\\u0022:\\u0022Read More\\u0022,\\u0022externalLinkTextColor\\u0022:\\u0022rgba(0,0,0,1)\\u0022,\\u0022externalLinkBgColor\\u0022:\\u0022rgba(255,255,255,1)\\u0022,\\u0022externalLinkFontSize\\u0022:18,\\u0022captions\\u0022:true,\\u0022captionSrc\\u0022:\\u0022caption\\u0022,\\u0022captionHAlign\\u0022:\\u0022top\\u0022,\\u0022collectionthumbHoverTitleFontSize\\u0022:18,\\u0022collectionthumbRoundedCorners\\u0022:0,\\u0022collectionthumbHoverTitleTextColor\\u0022:\\u0022rgba(255,255,255,1)\\u0022,\\u0022collectionthumbHoverTitleTextBgColor\\u0022:\\u0022rgba(0,0,0,0.8)\\u0022,\\u0022collectionthumbHoverBgColor\\u0022:\\u0022rgba(0,0,0,0.4)\\u0022,\\u0022collectionThumbSubMenuDownload\\u0022:true,\\u0022collectionThumbSubMenuShare\\u0022:true,\\u0022collectionThumbSubMenuBgColor\\u0022:\\u0022rgba(0,0,0,0.4)\\u0022,\\u0022collectionThumbSubMenuBgColorHover\\u0022:\\u0022rgba(255,255,255,1)\\u0022,\\u0022collectionThumbSubMenuIconColor\\u0022:\\u0022rgba(255,255,255,1)\\u0022,\\u0022collectionThumbSubMenuIconColorHover\\u0022:\\u0022rgba(0,0,0,1)\\u0022,\\u0022galleryType\\u0022:\\u0022pgc_sgb_grid\\u0022,\\u0022galleryId\\u0022:\\u0022e38dbeaf_1611648175762\\u0022,\\u0022images\\u0022:[{\\u0022id\\u0022:726,\\u0022title\\u0022:\\u0022ppshader2\\u0022,\\u0022url\\u0022:\\u0022http:\/\/stefan-loser.de\/wordpress\/wp-content\/uploads\/2017\/02\/ppshader2.png\\u0022,\\u0022link\\u0022:\\u0022http:\/\/stefan-loser.de\/wordpress\/?attachment_id=726\\u0022,\\u0022alt\\u0022:\\u0022\\u0022,\\u0022description\\u0022:\\u0022\\u0022,\\u0022caption\\u0022:\\u0022\\u0022,\\u0022mime\\u0022:\\u0022image\/png\\u0022,\\u0022type\\u0022:\\u0022image\\u0022,\\u0022width\\u0022:785,\\u0022height\\u0022:389,\\u0022sizes\\u0022:{\\u0022thumbnail\\u0022:{\\u0022height\\u0022:150,\\u0022width\\u0022:150,\\u0022url\\u0022:\\u0022http:\/\/stefan-loser.de\/wordpress\/wp-content\/uploads\/2017\/02\/ppshader2-150x150.png\\u0022,\\u0022orientation\\u0022:\\u0022landscape\\u0022},\\u0022medium\\u0022:{\\u0022height\\u0022:149,\\u0022width\\u0022:300,\\u0022url\\u0022:\\u0022http:\/\/stefan-loser.de\/wordpress\/wp-content\/uploads\/2017\/02\/ppshader2-300x149.png\\u0022,\\u0022orientation\\u0022:\\u0022landscape\\u0022},\\u0022full\\u0022:{\\u0022url\\u0022:\\u0022http:\/\/stefan-loser.de\/wordpress\/wp-content\/uploads\/2017\/02\/ppshader2.png\\u0022,\\u0022height\\u0022:389,\\u0022width\\u0022:785,\\u0022orientation\\u0022:\\u0022landscape\\u0022}},\\u0022meta\\u0022:false},{\\u0022id\\u0022:725,\\u0022title\\u0022:\\u0022ppshader1\\u0022,\\u0022url\\u0022:\\u0022http:\/\/stefan-loser.de\/wordpress\/wp-content\/uploads\/2017\/02\/ppshader1.png\\u0022,\\u0022link\\u0022:\\u0022http:\/\/stefan-loser.de\/wordpress\/?attachment_id=725\\u0022,\\u0022alt\\u0022:\\u0022\\u0022,\\u0022description\\u0022:\\u0022\\u0022,\\u0022caption\\u0022:\\u0022\\u0022,\\u0022mime\\u0022:\\u0022image\/png\\u0022,\\u0022type\\u0022:\\u0022image\\u0022,\\u0022width\\u0022:1233,\\u0022height\\u0022:484,\\u0022sizes\\u0022:{\\u0022thumbnail\\u0022:{\\u0022height\\u0022:150,\\u0022width\\u0022:150,\\u0022url\\u0022:\\u0022http:\/\/stefan-loser.de\/wordpress\/wp-content\/uploads\/2017\/02\/ppshader1-150x150.png\\u0022,\\u0022orientation\\u0022:\\u0022landscape\\u0022},\\u0022medium\\u0022:{\\u0022height\\u0022:118,\\u0022width\\u0022:300,\\u0022url\\u0022:\\u0022http:\/\/stefan-loser.de\/wordpress\/wp-content\/uploads\/2017\/02\/ppshader1-300x118.png\\u0022,\\u0022orientation\\u0022:\\u0022landscape\\u0022},\\u0022large\\u0022:{\\u0022height\\u0022:322,\\u0022width\\u0022:819,\\u0022url\\u0022:\\u0022http:\/\/stefan-loser.de\/wordpress\/wp-content\/uploads\/2017\/02\/ppshader1-1024x402.png\\u0022,\\u0022orientation\\u0022:\\u0022landscape\\u0022},\\u0022full\\u0022:{\\u0022url\\u0022:\\u0022http:\/\/stefan-loser.de\/wordpress\/wp-content\/uploads\/2017\/02\/ppshader1.png\\u0022,\\u0022height\\u0022:484,\\u0022width\\u0022:1233,\\u0022orientation\\u0022:\\u0022landscape\\u0022}},\\u0022meta\\u0022:false}],\\u0022itemsMetaDataCollection\\u0022:[],\\u0022tagsListCustomMode\\u0022:false,\\u0022galleryTagsList\\u0022:[],\\u0022useClobalSettings\\u0022:false,\\u0022orderBy\\u0022:\\u0022custom\\u0022,\\u0022skin\\u0022:\\u0022grid\\u0022}\",\"extended_widget_opts_block\":{},\"extended_widget_opts\":{},\"extended_widget_opts_state\":\"\",\"extended_widget_opts_clientid\":\"\",\"dateUpdated\":\"\"}<\/script><script>(function(){if(window.PGC_SGB && window.PGC_SGB.searcher){window.PGC_SGB.searcher.initBlocks()}})()<\/script><\/div>\n\n\n<p>This information will be the base to create appropriate UV motions. I use it as a time mask which can be set up with brightness and contrast. In the end both UV coordinate sets (the down flowing water and the water on the ground) are interpolated based on the normal direction.<\/p>\n\n\n\n<p>To avoid obvious tiling patterns on bigger surfaces I add some of the color information to the resulting UVs and use it as an offset.<\/p>\n\n\n<div class=\"pgc-sgb-cb wp-block-pgcsimplygalleryblock-grid \" data-gallery-id=\"a179cfb6_1611648491142\"><div class=\"sgb-preloader\" id=\"pr_a179cfb6_1611648491142\">\n\t<div class=\"sgb-square\" style=\"background:#d4d4d4\"><\/div>\n\t<div class=\"sgb-square\" style=\"background:#d4d4d4\"><\/div>\n\t<div class=\"sgb-square\" style=\"background:#d4d4d4\"><\/div>\n\t<div class=\"sgb-square\" style=\"background:#d4d4d4\"><\/div><\/div><div class=\"simply-gallery-amp pgc_sgb_slider \" style=\"display: none;\"><div class=\"sgb-gallery\"><div class=\"sgb-item\"><a href=\"http:\/\/stefan-loser.de\/wordpress\/wp-content\/uploads\/2017\/02\/ppshader3.png\"><img decoding=\"async\" alt=\"\" width=\"300\" height=\"170\" loading=\"lazy\" src=\"http:\/\/stefan-loser.de\/wordpress\/wp-content\/uploads\/2017\/02\/ppshader3-300x170.png\" srcset=\"http:\/\/stefan-loser.de\/wordpress\/wp-content\/uploads\/2017\/02\/ppshader3-300x170.png 300w,http:\/\/stefan-loser.de\/wordpress\/wp-content\/uploads\/2017\/02\/ppshader3-1024x580.png 819w,http:\/\/stefan-loser.de\/wordpress\/wp-content\/uploads\/2017\/02\/ppshader3.png 1137w\" sizes=\"auto, 250px\"\/><\/a><\/div><div class=\"sgb-item\"><a href=\"http:\/\/stefan-loser.de\/wordpress\/wp-content\/uploads\/2017\/02\/ppshader4.png\"><img decoding=\"async\" alt=\"\" width=\"300\" height=\"142\" loading=\"lazy\" src=\"http:\/\/stefan-loser.de\/wordpress\/wp-content\/uploads\/2017\/02\/ppshader4-300x142.png\" srcset=\"http:\/\/stefan-loser.de\/wordpress\/wp-content\/uploads\/2017\/02\/ppshader4-300x142.png 300w,http:\/\/stefan-loser.de\/wordpress\/wp-content\/uploads\/2017\/02\/ppshader4-1024x483.png 819w,http:\/\/stefan-loser.de\/wordpress\/wp-content\/uploads\/2017\/02\/ppshader4.png 1161w\" sizes=\"auto, 250px\"\/><\/a><\/div><\/div><\/div><script type=\"application\/json\" class=\"sgb-data\">{\"galleryType\":\"pgc_sgb_grid\",\"galleryId\":\"a179cfb6_1611648491142\",\"images\":[{\"id\":729,\"title\":\"ppshader3\",\"url\":\"http:\/\/stefan-loser.de\/wordpress\/wp-content\/uploads\/2017\/02\/ppshader3.png\",\"link\":\"http:\/\/stefan-loser.de\/wordpress\/?attachment_id=729\",\"alt\":\"\",\"description\":\"\",\"caption\":\"\",\"mime\":\"image\/png\",\"type\":\"image\",\"width\":1137,\"height\":644,\"sizes\":{\"thumbnail\":{\"height\":150,\"width\":150,\"url\":\"http:\/\/stefan-loser.de\/wordpress\/wp-content\/uploads\/2017\/02\/ppshader3-150x150.png\",\"orientation\":\"landscape\"},\"medium\":{\"height\":170,\"width\":300,\"url\":\"http:\/\/stefan-loser.de\/wordpress\/wp-content\/uploads\/2017\/02\/ppshader3-300x170.png\",\"orientation\":\"landscape\"},\"large\":{\"height\":464,\"width\":819,\"url\":\"http:\/\/stefan-loser.de\/wordpress\/wp-content\/uploads\/2017\/02\/ppshader3-1024x580.png\",\"orientation\":\"landscape\"},\"full\":{\"url\":\"http:\/\/stefan-loser.de\/wordpress\/wp-content\/uploads\/2017\/02\/ppshader3.png\",\"height\":644,\"width\":1137,\"orientation\":\"landscape\"}},\"meta\":false},{\"id\":730,\"title\":\"ppshader4\",\"url\":\"http:\/\/stefan-loser.de\/wordpress\/wp-content\/uploads\/2017\/02\/ppshader4.png\",\"link\":\"http:\/\/stefan-loser.de\/wordpress\/?attachment_id=730\",\"alt\":\"\",\"description\":\"\",\"caption\":\"\",\"mime\":\"image\/png\",\"type\":\"image\",\"width\":1161,\"height\":548,\"sizes\":{\"thumbnail\":{\"height\":150,\"width\":150,\"url\":\"http:\/\/stefan-loser.de\/wordpress\/wp-content\/uploads\/2017\/02\/ppshader4-150x150.png\",\"orientation\":\"landscape\"},\"medium\":{\"height\":142,\"width\":300,\"url\":\"http:\/\/stefan-loser.de\/wordpress\/wp-content\/uploads\/2017\/02\/ppshader4-300x142.png\",\"orientation\":\"landscape\"},\"large\":{\"height\":386,\"width\":819,\"url\":\"http:\/\/stefan-loser.de\/wordpress\/wp-content\/uploads\/2017\/02\/ppshader4-1024x483.png\",\"orientation\":\"landscape\"},\"full\":{\"url\":\"http:\/\/stefan-loser.de\/wordpress\/wp-content\/uploads\/2017\/02\/ppshader4.png\",\"height\":548,\"width\":1161,\"orientation\":\"landscape\"}},\"meta\":false}],\"itemsMetaDataCollection\":[],\"galleryData\":\"{\\u0022copyRProtection\\u0022:true,\\u0022copyRAlert\\u0022:\\u0022Hello, this photo is mine!\\u0022,\\u0022sliderScrollNavi\\u0022:false,\\u0022sliderNextPrevAnimation\\u0022:\\u0022animation\\u0022,\\u0022galleryScrollPositionControll\\u0022:false,\\u0022sliderItemCounterEnable\\u0022:true,\\u0022sliderCaptionSrc\\u0022:\\u0022caption\\u0022,\\u0022sliderItemTitleEnable\\u0022:false,\\u0022sliderItemTitleFontSize\\u0022:18,\\u0022sliderItemTitleTextColor\\u0022:\\u0022rgba(255,255,255,1)\\u0022,\\u0022itemCounterColor\\u0022:\\u0022rgba(255,255,255,1)\\u0022,\\u0022sliderThumbBarEnable\\u0022:true,\\u0022sliderThumbBarHoverColor\\u0022:\\u0022rgba(240,240,240,1)\\u0022,\\u0022sliderBgColor\\u0022:\\u0022rgba(0,0,0,0.8)\\u0022,\\u0022sliderPreloaderColor\\u0022:\\u0022rgba(240,240,240,1)\\u0022,\\u0022sliderHeaderFooterBgColor\\u0022:\\u0022rgba(0,0,0,0.4)\\u0022,\\u0022sliderNavigationColor\\u0022:\\u0022rgba(0,0,0,1)\\u0022,\\u0022sliderNavigationColorOver\\u0022:\\u0022rgba(255,255,255,1)\\u0022,\\u0022sliderNavigationIconColor\\u0022:\\u0022rgba(255,255,255,1)\\u0022,\\u0022sliderNavigationIconColorOver\\u0022:\\u0022rgba(0,0,0,1)\\u0022,\\u0022sliderSlideshow\\u0022:true,\\u0022sliderSlideshowDelay\\u0022:8,\\u0022slideshowIndicatorColor\\u0022:\\u0022rgba(255,255,255,1)\\u0022,\\u0022slideshowIndicatorColorBg\\u0022:\\u0022rgba(255,255,255,0.5)\\u0022,\\u0022sliderThumbSubMenuBackgroundColor\\u0022:\\u0022rgba(255,255,255,0)\\u0022,\\u0022sliderThumbSubMenuBackgroundColorOver\\u0022:\\u0022rgba(255,255,255,1)\\u0022,\\u0022sliderThumbSubMenuIconColor\\u0022:\\u0022rgba(255,255,255,1)\\u0022,\\u0022sliderThumbSubMenuIconHoverColor\\u0022:\\u0022rgba(0,0,0,1)\\u0022,\\u0022sliderSocialShareEnabled\\u0022:true,\\u0022sliderZoomEnable\\u0022:true,\\u0022sliderFullscreenEnabled\\u0022:true,\\u0022modaBgColor\\u0022:\\u0022rgba(0,0,0,0.8)\\u0022,\\u0022modalIconColor\\u0022:\\u0022rgba(255,255,255,1)\\u0022,\\u0022modalIconColorHover\\u0022:\\u0022rgba(255,255,255,0.8)\\u0022,\\u0022shareFacebook\\u0022:true,\\u0022shareTwitter\\u0022:true,\\u0022sharePinterest\\u0022:true,\\u0022sliderItemDownload\\u0022:true,\\u0022shareCopyLink\\u0022:true,\\u0022tagsFilter\\u0022:false,\\u0022tagCloudAll\\u0022:\\u0022All\\u0022,\\u0022tagCloudBgColor\\u0022:\\u0022rgba(153,153,153,1)\\u0022,\\u0022tagCloudBgColorOver\\u0022:\\u0022rgba(253,253,253,1)\\u0022,\\u0022tagCloudTextColor\\u0022:\\u0022rgba(253,253,253,1)\\u0022,\\u0022tagCloudTextColorOver\\u0022:\\u0022rgba(153,153,153,1)\\u0022,\\u0022tagCloudFontSize\\u0022:16,\\u0022deepLinking\\u0022:false,\\u0022useLightbox\\u0022:true,\\u0022numItemsDisplayed\\u0022:0,\\u0022lazyLoading\\u0022:true,\\u0022contentNoPadding\\u0022:false,\\u0022galleryPreloaderColor\\u0022:\\u0022rgba(230,230,230,1)\\u0022,\\u0022galleryBgColor\\u0022:\\u0022rgba(0,0,0,0)\\u0022,\\u0022galleryBorderRadius\\u0022:0,\\u0022collectionColumns\\u0022:3,\\u0022thumbHieghtRation\\u0022:1,\\u0022collectionThumbRecomendedWidth\\u0022:200,\\u0022thumbSpacing\\u0022:5,\\u0022externalLink\\u0022:true,\\u0022externalLinkDefName\\u0022:\\u0022Read More\\u0022,\\u0022externalLinkTextColor\\u0022:\\u0022rgba(0,0,0,1)\\u0022,\\u0022externalLinkBgColor\\u0022:\\u0022rgba(255,255,255,1)\\u0022,\\u0022externalLinkFontSize\\u0022:18,\\u0022captions\\u0022:true,\\u0022captionSrc\\u0022:\\u0022caption\\u0022,\\u0022captionHAlign\\u0022:\\u0022top\\u0022,\\u0022collectionthumbHoverTitleFontSize\\u0022:18,\\u0022collectionthumbRoundedCorners\\u0022:0,\\u0022collectionthumbHoverTitleTextColor\\u0022:\\u0022rgba(255,255,255,1)\\u0022,\\u0022collectionthumbHoverTitleTextBgColor\\u0022:\\u0022rgba(0,0,0,0.8)\\u0022,\\u0022collectionthumbHoverBgColor\\u0022:\\u0022rgba(0,0,0,0.4)\\u0022,\\u0022collectionThumbSubMenuDownload\\u0022:true,\\u0022collectionThumbSubMenuShare\\u0022:true,\\u0022collectionThumbSubMenuBgColor\\u0022:\\u0022rgba(0,0,0,0.4)\\u0022,\\u0022collectionThumbSubMenuBgColorHover\\u0022:\\u0022rgba(255,255,255,1)\\u0022,\\u0022collectionThumbSubMenuIconColor\\u0022:\\u0022rgba(255,255,255,1)\\u0022,\\u0022collectionThumbSubMenuIconColorHover\\u0022:\\u0022rgba(0,0,0,1)\\u0022,\\u0022galleryType\\u0022:\\u0022pgc_sgb_grid\\u0022,\\u0022galleryId\\u0022:\\u0022a179cfb6_1611648491142\\u0022,\\u0022images\\u0022:[{\\u0022id\\u0022:729,\\u0022title\\u0022:\\u0022ppshader3\\u0022,\\u0022url\\u0022:\\u0022http:\/\/stefan-loser.de\/wordpress\/wp-content\/uploads\/2017\/02\/ppshader3.png\\u0022,\\u0022link\\u0022:\\u0022http:\/\/stefan-loser.de\/wordpress\/?attachment_id=729\\u0022,\\u0022alt\\u0022:\\u0022\\u0022,\\u0022description\\u0022:\\u0022\\u0022,\\u0022caption\\u0022:\\u0022\\u0022,\\u0022mime\\u0022:\\u0022image\/png\\u0022,\\u0022type\\u0022:\\u0022image\\u0022,\\u0022width\\u0022:1137,\\u0022height\\u0022:644,\\u0022sizes\\u0022:{\\u0022thumbnail\\u0022:{\\u0022height\\u0022:150,\\u0022width\\u0022:150,\\u0022url\\u0022:\\u0022http:\/\/stefan-loser.de\/wordpress\/wp-content\/uploads\/2017\/02\/ppshader3-150x150.png\\u0022,\\u0022orientation\\u0022:\\u0022landscape\\u0022},\\u0022medium\\u0022:{\\u0022height\\u0022:170,\\u0022width\\u0022:300,\\u0022url\\u0022:\\u0022http:\/\/stefan-loser.de\/wordpress\/wp-content\/uploads\/2017\/02\/ppshader3-300x170.png\\u0022,\\u0022orientation\\u0022:\\u0022landscape\\u0022},\\u0022large\\u0022:{\\u0022height\\u0022:464,\\u0022width\\u0022:819,\\u0022url\\u0022:\\u0022http:\/\/stefan-loser.de\/wordpress\/wp-content\/uploads\/2017\/02\/ppshader3-1024x580.png\\u0022,\\u0022orientation\\u0022:\\u0022landscape\\u0022},\\u0022full\\u0022:{\\u0022url\\u0022:\\u0022http:\/\/stefan-loser.de\/wordpress\/wp-content\/uploads\/2017\/02\/ppshader3.png\\u0022,\\u0022height\\u0022:644,\\u0022width\\u0022:1137,\\u0022orientation\\u0022:\\u0022landscape\\u0022}},\\u0022meta\\u0022:false},{\\u0022id\\u0022:730,\\u0022title\\u0022:\\u0022ppshader4\\u0022,\\u0022url\\u0022:\\u0022http:\/\/stefan-loser.de\/wordpress\/wp-content\/uploads\/2017\/02\/ppshader4.png\\u0022,\\u0022link\\u0022:\\u0022http:\/\/stefan-loser.de\/wordpress\/?attachment_id=730\\u0022,\\u0022alt\\u0022:\\u0022\\u0022,\\u0022description\\u0022:\\u0022\\u0022,\\u0022caption\\u0022:\\u0022\\u0022,\\u0022mime\\u0022:\\u0022image\/png\\u0022,\\u0022type\\u0022:\\u0022image\\u0022,\\u0022width\\u0022:1161,\\u0022height\\u0022:548,\\u0022sizes\\u0022:{\\u0022thumbnail\\u0022:{\\u0022height\\u0022:150,\\u0022width\\u0022:150,\\u0022url\\u0022:\\u0022http:\/\/stefan-loser.de\/wordpress\/wp-content\/uploads\/2017\/02\/ppshader4-150x150.png\\u0022,\\u0022orientation\\u0022:\\u0022landscape\\u0022},\\u0022medium\\u0022:{\\u0022height\\u0022:142,\\u0022width\\u0022:300,\\u0022url\\u0022:\\u0022http:\/\/stefan-loser.de\/wordpress\/wp-content\/uploads\/2017\/02\/ppshader4-300x142.png\\u0022,\\u0022orientation\\u0022:\\u0022landscape\\u0022},\\u0022large\\u0022:{\\u0022height\\u0022:386,\\u0022width\\u0022:819,\\u0022url\\u0022:\\u0022http:\/\/stefan-loser.de\/wordpress\/wp-content\/uploads\/2017\/02\/ppshader4-1024x483.png\\u0022,\\u0022orientation\\u0022:\\u0022landscape\\u0022},\\u0022full\\u0022:{\\u0022url\\u0022:\\u0022http:\/\/stefan-loser.de\/wordpress\/wp-content\/uploads\/2017\/02\/ppshader4.png\\u0022,\\u0022height\\u0022:548,\\u0022width\\u0022:1161,\\u0022orientation\\u0022:\\u0022landscape\\u0022}},\\u0022meta\\u0022:false}],\\u0022itemsMetaDataCollection\\u0022:[],\\u0022tagsListCustomMode\\u0022:false,\\u0022galleryTagsList\\u0022:[],\\u0022useClobalSettings\\u0022:false,\\u0022orderBy\\u0022:\\u0022custom\\u0022,\\u0022skin\\u0022:\\u0022grid\\u0022}\",\"extended_widget_opts_block\":{},\"extended_widget_opts\":{},\"extended_widget_opts_state\":\"\",\"extended_widget_opts_clientid\":\"\",\"dateUpdated\":\"\"}<\/script><script>(function(){if(window.PGC_SGB && window.PGC_SGB.searcher){window.PGC_SGB.searcher.initBlocks()}})()<\/script><\/div>\n\n\n<p>I use the red channel of the flowing water (without color) as a base for computing the screen refraction. This is interpolated by the depth fade to see it only when nearby. It is now used as UV-set for the final scene color.<\/p>\n\n\n\n<p>To exclude parts of the which should not be affected I used the custom depth buffer. I compare the scene depth with the custom depth and it results into a grey scale mask which I use for masking out the rain before adding it to the scene.<\/p>\n\n\n<div class=\"pgc-sgb-cb wp-block-pgcsimplygalleryblock-grid \" data-gallery-id=\"2456e652_1611648426213\"><div class=\"sgb-preloader\" id=\"pr_2456e652_1611648426213\">\n\t<div class=\"sgb-square\" style=\"background:#d4d4d4\"><\/div>\n\t<div class=\"sgb-square\" style=\"background:#d4d4d4\"><\/div>\n\t<div class=\"sgb-square\" style=\"background:#d4d4d4\"><\/div>\n\t<div class=\"sgb-square\" style=\"background:#d4d4d4\"><\/div><\/div><div class=\"simply-gallery-amp pgc_sgb_slider \" style=\"display: none;\"><div class=\"sgb-gallery\"><div class=\"sgb-item\"><a href=\"http:\/\/stefan-loser.de\/wordpress\/wp-content\/uploads\/2017\/02\/ppshader6.png\"><img decoding=\"async\" alt=\"\" width=\"300\" height=\"128\" loading=\"lazy\" src=\"http:\/\/stefan-loser.de\/wordpress\/wp-content\/uploads\/2017\/02\/ppshader6-300x128.png\" srcset=\"http:\/\/stefan-loser.de\/wordpress\/wp-content\/uploads\/2017\/02\/ppshader6-300x128.png 300w,http:\/\/stefan-loser.de\/wordpress\/wp-content\/uploads\/2017\/02\/ppshader6-1024x437.png 819w,http:\/\/stefan-loser.de\/wordpress\/wp-content\/uploads\/2017\/02\/ppshader6.png 1084w\" sizes=\"auto, 250px\"\/><\/a><\/div><div class=\"sgb-item\"><a href=\"http:\/\/stefan-loser.de\/wordpress\/wp-content\/uploads\/2017\/02\/ppshader5.png\"><img decoding=\"async\" alt=\"\" width=\"300\" height=\"137\" loading=\"lazy\" src=\"http:\/\/stefan-loser.de\/wordpress\/wp-content\/uploads\/2017\/02\/ppshader5-300x137.png\" srcset=\"http:\/\/stefan-loser.de\/wordpress\/wp-content\/uploads\/2017\/02\/ppshader5-300x137.png 300w,http:\/\/stefan-loser.de\/wordpress\/wp-content\/uploads\/2017\/02\/ppshader5-1024x467.png 819w,http:\/\/stefan-loser.de\/wordpress\/wp-content\/uploads\/2017\/02\/ppshader5.png 1160w\" sizes=\"auto, 250px\"\/><\/a><\/div><\/div><\/div><script type=\"application\/json\" class=\"sgb-data\">{\"galleryType\":\"pgc_sgb_grid\",\"galleryId\":\"2456e652_1611648426213\",\"images\":[{\"id\":734,\"title\":\"ppshader6\",\"url\":\"http:\/\/stefan-loser.de\/wordpress\/wp-content\/uploads\/2017\/02\/ppshader6.png\",\"link\":\"http:\/\/stefan-loser.de\/wordpress\/?attachment_id=734\",\"alt\":\"\",\"description\":\"\",\"caption\":\"\",\"mime\":\"image\/png\",\"type\":\"image\",\"width\":1084,\"height\":463,\"sizes\":{\"thumbnail\":{\"height\":150,\"width\":150,\"url\":\"http:\/\/stefan-loser.de\/wordpress\/wp-content\/uploads\/2017\/02\/ppshader6-150x150.png\",\"orientation\":\"landscape\"},\"medium\":{\"height\":128,\"width\":300,\"url\":\"http:\/\/stefan-loser.de\/wordpress\/wp-content\/uploads\/2017\/02\/ppshader6-300x128.png\",\"orientation\":\"landscape\"},\"large\":{\"height\":350,\"width\":819,\"url\":\"http:\/\/stefan-loser.de\/wordpress\/wp-content\/uploads\/2017\/02\/ppshader6-1024x437.png\",\"orientation\":\"landscape\"},\"full\":{\"url\":\"http:\/\/stefan-loser.de\/wordpress\/wp-content\/uploads\/2017\/02\/ppshader6.png\",\"height\":463,\"width\":1084,\"orientation\":\"landscape\"}},\"meta\":false},{\"id\":731,\"title\":\"ppshader5\",\"url\":\"http:\/\/stefan-loser.de\/wordpress\/wp-content\/uploads\/2017\/02\/ppshader5.png\",\"link\":\"http:\/\/stefan-loser.de\/wordpress\/?attachment_id=731\",\"alt\":\"\",\"description\":\"\",\"caption\":\"\",\"mime\":\"image\/png\",\"type\":\"image\",\"width\":1160,\"height\":529,\"sizes\":{\"thumbnail\":{\"height\":150,\"width\":150,\"url\":\"http:\/\/stefan-loser.de\/wordpress\/wp-content\/uploads\/2017\/02\/ppshader5-150x150.png\",\"orientation\":\"landscape\"},\"medium\":{\"height\":137,\"width\":300,\"url\":\"http:\/\/stefan-loser.de\/wordpress\/wp-content\/uploads\/2017\/02\/ppshader5-300x137.png\",\"orientation\":\"landscape\"},\"large\":{\"height\":374,\"width\":819,\"url\":\"http:\/\/stefan-loser.de\/wordpress\/wp-content\/uploads\/2017\/02\/ppshader5-1024x467.png\",\"orientation\":\"landscape\"},\"full\":{\"url\":\"http:\/\/stefan-loser.de\/wordpress\/wp-content\/uploads\/2017\/02\/ppshader5.png\",\"height\":529,\"width\":1160,\"orientation\":\"landscape\"}},\"meta\":false}],\"itemsMetaDataCollection\":[],\"galleryData\":\"{\\u0022copyRProtection\\u0022:true,\\u0022copyRAlert\\u0022:\\u0022Hello, this photo is mine!\\u0022,\\u0022sliderScrollNavi\\u0022:false,\\u0022sliderNextPrevAnimation\\u0022:\\u0022animation\\u0022,\\u0022galleryScrollPositionControll\\u0022:false,\\u0022sliderItemCounterEnable\\u0022:true,\\u0022sliderCaptionSrc\\u0022:\\u0022caption\\u0022,\\u0022sliderItemTitleEnable\\u0022:false,\\u0022sliderItemTitleFontSize\\u0022:18,\\u0022sliderItemTitleTextColor\\u0022:\\u0022rgba(255,255,255,1)\\u0022,\\u0022itemCounterColor\\u0022:\\u0022rgba(255,255,255,1)\\u0022,\\u0022sliderThumbBarEnable\\u0022:true,\\u0022sliderThumbBarHoverColor\\u0022:\\u0022rgba(240,240,240,1)\\u0022,\\u0022sliderBgColor\\u0022:\\u0022rgba(0,0,0,0.8)\\u0022,\\u0022sliderPreloaderColor\\u0022:\\u0022rgba(240,240,240,1)\\u0022,\\u0022sliderHeaderFooterBgColor\\u0022:\\u0022rgba(0,0,0,0.4)\\u0022,\\u0022sliderNavigationColor\\u0022:\\u0022rgba(0,0,0,1)\\u0022,\\u0022sliderNavigationColorOver\\u0022:\\u0022rgba(255,255,255,1)\\u0022,\\u0022sliderNavigationIconColor\\u0022:\\u0022rgba(255,255,255,1)\\u0022,\\u0022sliderNavigationIconColorOver\\u0022:\\u0022rgba(0,0,0,1)\\u0022,\\u0022sliderSlideshow\\u0022:true,\\u0022sliderSlideshowDelay\\u0022:8,\\u0022slideshowIndicatorColor\\u0022:\\u0022rgba(255,255,255,1)\\u0022,\\u0022slideshowIndicatorColorBg\\u0022:\\u0022rgba(255,255,255,0.5)\\u0022,\\u0022sliderThumbSubMenuBackgroundColor\\u0022:\\u0022rgba(255,255,255,0)\\u0022,\\u0022sliderThumbSubMenuBackgroundColorOver\\u0022:\\u0022rgba(255,255,255,1)\\u0022,\\u0022sliderThumbSubMenuIconColor\\u0022:\\u0022rgba(255,255,255,1)\\u0022,\\u0022sliderThumbSubMenuIconHoverColor\\u0022:\\u0022rgba(0,0,0,1)\\u0022,\\u0022sliderSocialShareEnabled\\u0022:true,\\u0022sliderZoomEnable\\u0022:true,\\u0022sliderFullscreenEnabled\\u0022:true,\\u0022modaBgColor\\u0022:\\u0022rgba(0,0,0,0.8)\\u0022,\\u0022modalIconColor\\u0022:\\u0022rgba(255,255,255,1)\\u0022,\\u0022modalIconColorHover\\u0022:\\u0022rgba(255,255,255,0.8)\\u0022,\\u0022shareFacebook\\u0022:true,\\u0022shareTwitter\\u0022:true,\\u0022sharePinterest\\u0022:true,\\u0022sliderItemDownload\\u0022:true,\\u0022shareCopyLink\\u0022:true,\\u0022tagsFilter\\u0022:false,\\u0022tagCloudAll\\u0022:\\u0022All\\u0022,\\u0022tagCloudBgColor\\u0022:\\u0022rgba(153,153,153,1)\\u0022,\\u0022tagCloudBgColorOver\\u0022:\\u0022rgba(253,253,253,1)\\u0022,\\u0022tagCloudTextColor\\u0022:\\u0022rgba(253,253,253,1)\\u0022,\\u0022tagCloudTextColorOver\\u0022:\\u0022rgba(153,153,153,1)\\u0022,\\u0022tagCloudFontSize\\u0022:16,\\u0022deepLinking\\u0022:false,\\u0022useLightbox\\u0022:true,\\u0022numItemsDisplayed\\u0022:0,\\u0022lazyLoading\\u0022:true,\\u0022contentNoPadding\\u0022:false,\\u0022galleryPreloaderColor\\u0022:\\u0022rgba(230,230,230,1)\\u0022,\\u0022galleryBgColor\\u0022:\\u0022rgba(0,0,0,0)\\u0022,\\u0022galleryBorderRadius\\u0022:0,\\u0022collectionColumns\\u0022:3,\\u0022thumbHieghtRation\\u0022:1,\\u0022collectionThumbRecomendedWidth\\u0022:200,\\u0022thumbSpacing\\u0022:5,\\u0022externalLink\\u0022:true,\\u0022externalLinkDefName\\u0022:\\u0022Read More\\u0022,\\u0022externalLinkTextColor\\u0022:\\u0022rgba(0,0,0,1)\\u0022,\\u0022externalLinkBgColor\\u0022:\\u0022rgba(255,255,255,1)\\u0022,\\u0022externalLinkFontSize\\u0022:18,\\u0022captions\\u0022:true,\\u0022captionSrc\\u0022:\\u0022caption\\u0022,\\u0022captionHAlign\\u0022:\\u0022top\\u0022,\\u0022collectionthumbHoverTitleFontSize\\u0022:18,\\u0022collectionthumbRoundedCorners\\u0022:0,\\u0022collectionthumbHoverTitleTextColor\\u0022:\\u0022rgba(255,255,255,1)\\u0022,\\u0022collectionthumbHoverTitleTextBgColor\\u0022:\\u0022rgba(0,0,0,0.8)\\u0022,\\u0022collectionthumbHoverBgColor\\u0022:\\u0022rgba(0,0,0,0.4)\\u0022,\\u0022collectionThumbSubMenuDownload\\u0022:true,\\u0022collectionThumbSubMenuShare\\u0022:true,\\u0022collectionThumbSubMenuBgColor\\u0022:\\u0022rgba(0,0,0,0.4)\\u0022,\\u0022collectionThumbSubMenuBgColorHover\\u0022:\\u0022rgba(255,255,255,1)\\u0022,\\u0022collectionThumbSubMenuIconColor\\u0022:\\u0022rgba(255,255,255,1)\\u0022,\\u0022collectionThumbSubMenuIconColorHover\\u0022:\\u0022rgba(0,0,0,1)\\u0022,\\u0022galleryType\\u0022:\\u0022pgc_sgb_grid\\u0022,\\u0022galleryId\\u0022:\\u00222456e652_1611648426213\\u0022,\\u0022images\\u0022:[{\\u0022id\\u0022:734,\\u0022title\\u0022:\\u0022ppshader6\\u0022,\\u0022url\\u0022:\\u0022http:\/\/stefan-loser.de\/wordpress\/wp-content\/uploads\/2017\/02\/ppshader6.png\\u0022,\\u0022link\\u0022:\\u0022http:\/\/stefan-loser.de\/wordpress\/?attachment_id=734\\u0022,\\u0022alt\\u0022:\\u0022\\u0022,\\u0022description\\u0022:\\u0022\\u0022,\\u0022caption\\u0022:\\u0022\\u0022,\\u0022mime\\u0022:\\u0022image\/png\\u0022,\\u0022type\\u0022:\\u0022image\\u0022,\\u0022width\\u0022:1084,\\u0022height\\u0022:463,\\u0022sizes\\u0022:{\\u0022thumbnail\\u0022:{\\u0022height\\u0022:150,\\u0022width\\u0022:150,\\u0022url\\u0022:\\u0022http:\/\/stefan-loser.de\/wordpress\/wp-content\/uploads\/2017\/02\/ppshader6-150x150.png\\u0022,\\u0022orientation\\u0022:\\u0022landscape\\u0022},\\u0022medium\\u0022:{\\u0022height\\u0022:128,\\u0022width\\u0022:300,\\u0022url\\u0022:\\u0022http:\/\/stefan-loser.de\/wordpress\/wp-content\/uploads\/2017\/02\/ppshader6-300x128.png\\u0022,\\u0022orientation\\u0022:\\u0022landscape\\u0022},\\u0022large\\u0022:{\\u0022height\\u0022:350,\\u0022width\\u0022:819,\\u0022url\\u0022:\\u0022http:\/\/stefan-loser.de\/wordpress\/wp-content\/uploads\/2017\/02\/ppshader6-1024x437.png\\u0022,\\u0022orientation\\u0022:\\u0022landscape\\u0022},\\u0022full\\u0022:{\\u0022url\\u0022:\\u0022http:\/\/stefan-loser.de\/wordpress\/wp-content\/uploads\/2017\/02\/ppshader6.png\\u0022,\\u0022height\\u0022:463,\\u0022width\\u0022:1084,\\u0022orientation\\u0022:\\u0022landscape\\u0022}},\\u0022meta\\u0022:false},{\\u0022id\\u0022:731,\\u0022title\\u0022:\\u0022ppshader5\\u0022,\\u0022url\\u0022:\\u0022http:\/\/stefan-loser.de\/wordpress\/wp-content\/uploads\/2017\/02\/ppshader5.png\\u0022,\\u0022link\\u0022:\\u0022http:\/\/stefan-loser.de\/wordpress\/?attachment_id=731\\u0022,\\u0022alt\\u0022:\\u0022\\u0022,\\u0022description\\u0022:\\u0022\\u0022,\\u0022caption\\u0022:\\u0022\\u0022,\\u0022mime\\u0022:\\u0022image\/png\\u0022,\\u0022type\\u0022:\\u0022image\\u0022,\\u0022width\\u0022:1160,\\u0022height\\u0022:529,\\u0022sizes\\u0022:{\\u0022thumbnail\\u0022:{\\u0022height\\u0022:150,\\u0022width\\u0022:150,\\u0022url\\u0022:\\u0022http:\/\/stefan-loser.de\/wordpress\/wp-content\/uploads\/2017\/02\/ppshader5-150x150.png\\u0022,\\u0022orientation\\u0022:\\u0022landscape\\u0022},\\u0022medium\\u0022:{\\u0022height\\u0022:137,\\u0022width\\u0022:300,\\u0022url\\u0022:\\u0022http:\/\/stefan-loser.de\/wordpress\/wp-content\/uploads\/2017\/02\/ppshader5-300x137.png\\u0022,\\u0022orientation\\u0022:\\u0022landscape\\u0022},\\u0022large\\u0022:{\\u0022height\\u0022:374,\\u0022width\\u0022:819,\\u0022url\\u0022:\\u0022http:\/\/stefan-loser.de\/wordpress\/wp-content\/uploads\/2017\/02\/ppshader5-1024x467.png\\u0022,\\u0022orientation\\u0022:\\u0022landscape\\u0022},\\u0022full\\u0022:{\\u0022url\\u0022:\\u0022http:\/\/stefan-loser.de\/wordpress\/wp-content\/uploads\/2017\/02\/ppshader5.png\\u0022,\\u0022height\\u0022:529,\\u0022width\\u0022:1160,\\u0022orientation\\u0022:\\u0022landscape\\u0022}},\\u0022meta\\u0022:false}],\\u0022itemsMetaDataCollection\\u0022:[],\\u0022tagsListCustomMode\\u0022:false,\\u0022galleryTagsList\\u0022:[],\\u0022useClobalSettings\\u0022:false,\\u0022orderBy\\u0022:\\u0022custom\\u0022,\\u0022skin\\u0022:\\u0022grid\\u0022}\",\"extended_widget_opts_block\":{},\"extended_widget_opts\":{},\"extended_widget_opts_state\":\"\",\"extended_widget_opts_clientid\":\"\",\"dateUpdated\":\"\"}<\/script><script>(function(){if(window.PGC_SGB && window.PGC_SGB.searcher){window.PGC_SGB.searcher.initBlocks()}})()<\/script><\/div>\n\n\n<p>The following scene is test scene bought from the Unreal Marketplace and is not done by me. I use it just for tests of my shaders and effects.The pictures below show the scene without and with the above described effect. I darkened the scene a little bit to have a more realistic rainy weather look and better contrast.<\/p>\n\n\n\n<p>The outcome is not perfect on every spot but overall it is a fast way to change your scene&#8217;s weather.<\/p>\n\n\n<div class=\"pgc-sgb-cb wp-block-pgcsimplygalleryblock-grid \" data-gallery-id=\"0fdcdc28_1611648320724\"><div class=\"sgb-preloader\" id=\"pr_0fdcdc28_1611648320724\">\n\t<div class=\"sgb-square\" style=\"background:#d4d4d4\"><\/div>\n\t<div class=\"sgb-square\" style=\"background:#d4d4d4\"><\/div>\n\t<div class=\"sgb-square\" style=\"background:#d4d4d4\"><\/div>\n\t<div class=\"sgb-square\" style=\"background:#d4d4d4\"><\/div><\/div><div class=\"simply-gallery-amp pgc_sgb_slider \" style=\"display: none;\"><div class=\"sgb-gallery\"><div class=\"sgb-item\"><a href=\"http:\/\/stefan-loser.de\/wordpress\/wp-content\/uploads\/2017\/02\/ppshader7.jpg\"><img decoding=\"async\" alt=\"\" width=\"300\" height=\"215\" loading=\"lazy\" src=\"http:\/\/stefan-loser.de\/wordpress\/wp-content\/uploads\/2017\/02\/ppshader7-300x215.jpg\" srcset=\"http:\/\/stefan-loser.de\/wordpress\/wp-content\/uploads\/2017\/02\/ppshader7-300x215.jpg 300w,http:\/\/stefan-loser.de\/wordpress\/wp-content\/uploads\/2017\/02\/ppshader7-1024x733.jpg 819w,http:\/\/stefan-loser.de\/wordpress\/wp-content\/uploads\/2017\/02\/ppshader7.jpg 1193w\" sizes=\"auto, 250px\"\/><\/a><\/div><div class=\"sgb-item\"><a href=\"http:\/\/stefan-loser.de\/wordpress\/wp-content\/uploads\/2017\/02\/pp-shader9.png\"><img decoding=\"async\" alt=\"\" width=\"300\" height=\"203\" loading=\"lazy\" src=\"http:\/\/stefan-loser.de\/wordpress\/wp-content\/uploads\/2017\/02\/pp-shader9-300x203.png\" srcset=\"http:\/\/stefan-loser.de\/wordpress\/wp-content\/uploads\/2017\/02\/pp-shader9-300x203.png 300w,http:\/\/stefan-loser.de\/wordpress\/wp-content\/uploads\/2017\/02\/pp-shader9-1024x692.png 819w,http:\/\/stefan-loser.de\/wordpress\/wp-content\/uploads\/2017\/02\/pp-shader9.png 1183w\" sizes=\"auto, 250px\"\/><\/a><\/div><div class=\"sgb-item\"><a href=\"http:\/\/stefan-loser.de\/wordpress\/wp-content\/uploads\/2017\/02\/ppshader10.png\"><img decoding=\"async\" alt=\"\" width=\"300\" height=\"161\" loading=\"lazy\" src=\"http:\/\/stefan-loser.de\/wordpress\/wp-content\/uploads\/2017\/02\/ppshader10-300x161.png\" srcset=\"http:\/\/stefan-loser.de\/wordpress\/wp-content\/uploads\/2017\/02\/ppshader10-300x161.png 300w,http:\/\/stefan-loser.de\/wordpress\/wp-content\/uploads\/2017\/02\/ppshader10-1024x551.png 819w,http:\/\/stefan-loser.de\/wordpress\/wp-content\/uploads\/2017\/02\/ppshader10.png 1204w\" sizes=\"auto, 250px\"\/><\/a><\/div><\/div><\/div><script type=\"application\/json\" class=\"sgb-data\">{\"collectionThumbRecomendedWidth\":150,\"externalLinkDefName\":\"\",\"galleryType\":\"pgc_sgb_grid\",\"galleryId\":\"0fdcdc28_1611648320724\",\"images\":[{\"id\":733,\"title\":\"ppshader7\",\"url\":\"http:\/\/stefan-loser.de\/wordpress\/wp-content\/uploads\/2017\/02\/ppshader7.jpg\",\"link\":\"http:\/\/stefan-loser.de\/wordpress\/?attachment_id=733\",\"alt\":\"\",\"description\":\"\",\"caption\":\"\",\"mime\":\"image\/jpeg\",\"type\":\"image\",\"width\":1193,\"height\":854,\"sizes\":{\"thumbnail\":{\"height\":150,\"width\":150,\"url\":\"http:\/\/stefan-loser.de\/wordpress\/wp-content\/uploads\/2017\/02\/ppshader7-150x150.jpg\",\"orientation\":\"landscape\"},\"medium\":{\"height\":215,\"width\":300,\"url\":\"http:\/\/stefan-loser.de\/wordpress\/wp-content\/uploads\/2017\/02\/ppshader7-300x215.jpg\",\"orientation\":\"landscape\"},\"large\":{\"height\":586,\"width\":819,\"url\":\"http:\/\/stefan-loser.de\/wordpress\/wp-content\/uploads\/2017\/02\/ppshader7-1024x733.jpg\",\"orientation\":\"landscape\"},\"full\":{\"url\":\"http:\/\/stefan-loser.de\/wordpress\/wp-content\/uploads\/2017\/02\/ppshader7.jpg\",\"height\":854,\"width\":1193,\"orientation\":\"landscape\"}},\"meta\":false},{\"id\":732,\"title\":\"pp shader9\",\"url\":\"http:\/\/stefan-loser.de\/wordpress\/wp-content\/uploads\/2017\/02\/pp-shader9.png\",\"link\":\"http:\/\/stefan-loser.de\/wordpress\/?attachment_id=732\",\"alt\":\"\",\"description\":\"\",\"caption\":\"\",\"mime\":\"image\/png\",\"type\":\"image\",\"width\":1183,\"height\":799,\"sizes\":{\"thumbnail\":{\"height\":150,\"width\":150,\"url\":\"http:\/\/stefan-loser.de\/wordpress\/wp-content\/uploads\/2017\/02\/pp-shader9-150x150.png\",\"orientation\":\"landscape\"},\"medium\":{\"height\":203,\"width\":300,\"url\":\"http:\/\/stefan-loser.de\/wordpress\/wp-content\/uploads\/2017\/02\/pp-shader9-300x203.png\",\"orientation\":\"landscape\"},\"large\":{\"height\":553,\"width\":819,\"url\":\"http:\/\/stefan-loser.de\/wordpress\/wp-content\/uploads\/2017\/02\/pp-shader9-1024x692.png\",\"orientation\":\"landscape\"},\"full\":{\"url\":\"http:\/\/stefan-loser.de\/wordpress\/wp-content\/uploads\/2017\/02\/pp-shader9.png\",\"height\":799,\"width\":1183,\"orientation\":\"landscape\"}},\"meta\":false},{\"id\":728,\"title\":\"ppshader10\",\"url\":\"http:\/\/stefan-loser.de\/wordpress\/wp-content\/uploads\/2017\/02\/ppshader10.png\",\"link\":\"http:\/\/stefan-loser.de\/wordpress\/?attachment_id=728\",\"alt\":\"\",\"description\":\"\",\"caption\":\"\",\"mime\":\"image\/png\",\"type\":\"image\",\"width\":1204,\"height\":648,\"sizes\":{\"thumbnail\":{\"height\":150,\"width\":150,\"url\":\"http:\/\/stefan-loser.de\/wordpress\/wp-content\/uploads\/2017\/02\/ppshader10-150x150.png\",\"orientation\":\"landscape\"},\"medium\":{\"height\":161,\"width\":300,\"url\":\"http:\/\/stefan-loser.de\/wordpress\/wp-content\/uploads\/2017\/02\/ppshader10-300x161.png\",\"orientation\":\"landscape\"},\"large\":{\"height\":441,\"width\":819,\"url\":\"http:\/\/stefan-loser.de\/wordpress\/wp-content\/uploads\/2017\/02\/ppshader10-1024x551.png\",\"orientation\":\"landscape\"},\"full\":{\"url\":\"http:\/\/stefan-loser.de\/wordpress\/wp-content\/uploads\/2017\/02\/ppshader10.png\",\"height\":648,\"width\":1204,\"orientation\":\"landscape\"}},\"meta\":false}],\"itemsMetaDataCollection\":[{\"link\":\"\",\"linkTarget\":\"_self\",\"linkText\":\"\",\"tags\":[],\"id\":\"728\"}],\"galleryTagsList\":[],\"galleryTagsListSrc\":[],\"galleryData\":\"{\\u0022copyRProtection\\u0022:true,\\u0022copyRAlert\\u0022:\\u0022Hello, this photo is mine!\\u0022,\\u0022sliderScrollNavi\\u0022:false,\\u0022sliderNextPrevAnimation\\u0022:\\u0022animation\\u0022,\\u0022galleryScrollPositionControll\\u0022:false,\\u0022sliderItemCounterEnable\\u0022:true,\\u0022sliderCaptionSrc\\u0022:\\u0022caption\\u0022,\\u0022sliderItemTitleEnable\\u0022:false,\\u0022sliderItemTitleFontSize\\u0022:18,\\u0022sliderItemTitleTextColor\\u0022:\\u0022rgba(255,255,255,1)\\u0022,\\u0022itemCounterColor\\u0022:\\u0022rgba(255,255,255,1)\\u0022,\\u0022sliderThumbBarEnable\\u0022:true,\\u0022sliderThumbBarHoverColor\\u0022:\\u0022rgba(240,240,240,1)\\u0022,\\u0022sliderBgColor\\u0022:\\u0022rgba(0,0,0,0.8)\\u0022,\\u0022sliderPreloaderColor\\u0022:\\u0022rgba(240,240,240,1)\\u0022,\\u0022sliderHeaderFooterBgColor\\u0022:\\u0022rgba(0,0,0,0.4)\\u0022,\\u0022sliderNavigationColor\\u0022:\\u0022rgba(0,0,0,1)\\u0022,\\u0022sliderNavigationColorOver\\u0022:\\u0022rgba(255,255,255,1)\\u0022,\\u0022sliderNavigationIconColor\\u0022:\\u0022rgba(255,255,255,1)\\u0022,\\u0022sliderNavigationIconColorOver\\u0022:\\u0022rgba(0,0,0,1)\\u0022,\\u0022sliderSlideshow\\u0022:true,\\u0022sliderSlideshowDelay\\u0022:8,\\u0022slideshowIndicatorColor\\u0022:\\u0022rgba(255,255,255,1)\\u0022,\\u0022slideshowIndicatorColorBg\\u0022:\\u0022rgba(255,255,255,0.5)\\u0022,\\u0022sliderThumbSubMenuBackgroundColor\\u0022:\\u0022rgba(255,255,255,0)\\u0022,\\u0022sliderThumbSubMenuBackgroundColorOver\\u0022:\\u0022rgba(255,255,255,1)\\u0022,\\u0022sliderThumbSubMenuIconColor\\u0022:\\u0022rgba(255,255,255,1)\\u0022,\\u0022sliderThumbSubMenuIconHoverColor\\u0022:\\u0022rgba(0,0,0,1)\\u0022,\\u0022sliderSocialShareEnabled\\u0022:true,\\u0022sliderZoomEnable\\u0022:true,\\u0022sliderFullscreenEnabled\\u0022:true,\\u0022modaBgColor\\u0022:\\u0022rgba(0,0,0,0.8)\\u0022,\\u0022modalIconColor\\u0022:\\u0022rgba(255,255,255,1)\\u0022,\\u0022modalIconColorHover\\u0022:\\u0022rgba(255,255,255,0.8)\\u0022,\\u0022shareFacebook\\u0022:true,\\u0022shareTwitter\\u0022:true,\\u0022sharePinterest\\u0022:true,\\u0022sliderItemDownload\\u0022:true,\\u0022shareCopyLink\\u0022:true,\\u0022tagsFilter\\u0022:false,\\u0022tagCloudAll\\u0022:\\u0022All\\u0022,\\u0022tagCloudBgColor\\u0022:\\u0022rgba(153,153,153,1)\\u0022,\\u0022tagCloudBgColorOver\\u0022:\\u0022rgba(253,253,253,1)\\u0022,\\u0022tagCloudTextColor\\u0022:\\u0022rgba(253,253,253,1)\\u0022,\\u0022tagCloudTextColorOver\\u0022:\\u0022rgba(153,153,153,1)\\u0022,\\u0022tagCloudFontSize\\u0022:16,\\u0022deepLinking\\u0022:false,\\u0022useLightbox\\u0022:true,\\u0022numItemsDisplayed\\u0022:0,\\u0022lazyLoading\\u0022:true,\\u0022contentNoPadding\\u0022:false,\\u0022galleryPreloaderColor\\u0022:\\u0022rgba(230,230,230,1)\\u0022,\\u0022galleryBgColor\\u0022:\\u0022rgba(0,0,0,0)\\u0022,\\u0022galleryBorderRadius\\u0022:0,\\u0022collectionColumns\\u0022:3,\\u0022thumbHieghtRation\\u0022:1,\\u0022collectionThumbRecomendedWidth\\u0022:150,\\u0022thumbSpacing\\u0022:5,\\u0022externalLink\\u0022:true,\\u0022externalLinkDefName\\u0022:\\u0022\\u0022,\\u0022externalLinkTextColor\\u0022:\\u0022rgba(0,0,0,1)\\u0022,\\u0022externalLinkBgColor\\u0022:\\u0022rgba(255,255,255,1)\\u0022,\\u0022externalLinkFontSize\\u0022:18,\\u0022captions\\u0022:true,\\u0022captionSrc\\u0022:\\u0022caption\\u0022,\\u0022captionHAlign\\u0022:\\u0022top\\u0022,\\u0022collectionthumbHoverTitleFontSize\\u0022:18,\\u0022collectionthumbRoundedCorners\\u0022:0,\\u0022collectionthumbHoverTitleTextColor\\u0022:\\u0022rgba(255,255,255,1)\\u0022,\\u0022collectionthumbHoverTitleTextBgColor\\u0022:\\u0022rgba(0,0,0,0.8)\\u0022,\\u0022collectionthumbHoverBgColor\\u0022:\\u0022rgba(0,0,0,0.4)\\u0022,\\u0022collectionThumbSubMenuDownload\\u0022:true,\\u0022collectionThumbSubMenuShare\\u0022:true,\\u0022collectionThumbSubMenuBgColor\\u0022:\\u0022rgba(0,0,0,0.4)\\u0022,\\u0022collectionThumbSubMenuBgColorHover\\u0022:\\u0022rgba(255,255,255,1)\\u0022,\\u0022collectionThumbSubMenuIconColor\\u0022:\\u0022rgba(255,255,255,1)\\u0022,\\u0022collectionThumbSubMenuIconColorHover\\u0022:\\u0022rgba(0,0,0,1)\\u0022,\\u0022galleryType\\u0022:\\u0022pgc_sgb_grid\\u0022,\\u0022galleryId\\u0022:\\u00220fdcdc28_1611648320724\\u0022,\\u0022images\\u0022:[{\\u0022id\\u0022:733,\\u0022title\\u0022:\\u0022ppshader7\\u0022,\\u0022url\\u0022:\\u0022http:\/\/stefan-loser.de\/wordpress\/wp-content\/uploads\/2017\/02\/ppshader7.jpg\\u0022,\\u0022link\\u0022:\\u0022http:\/\/stefan-loser.de\/wordpress\/?attachment_id=733\\u0022,\\u0022alt\\u0022:\\u0022\\u0022,\\u0022description\\u0022:\\u0022\\u0022,\\u0022caption\\u0022:\\u0022\\u0022,\\u0022mime\\u0022:\\u0022image\/jpeg\\u0022,\\u0022type\\u0022:\\u0022image\\u0022,\\u0022width\\u0022:1193,\\u0022height\\u0022:854,\\u0022sizes\\u0022:{\\u0022thumbnail\\u0022:{\\u0022height\\u0022:150,\\u0022width\\u0022:150,\\u0022url\\u0022:\\u0022http:\/\/stefan-loser.de\/wordpress\/wp-content\/uploads\/2017\/02\/ppshader7-150x150.jpg\\u0022,\\u0022orientation\\u0022:\\u0022landscape\\u0022},\\u0022medium\\u0022:{\\u0022height\\u0022:215,\\u0022width\\u0022:300,\\u0022url\\u0022:\\u0022http:\/\/stefan-loser.de\/wordpress\/wp-content\/uploads\/2017\/02\/ppshader7-300x215.jpg\\u0022,\\u0022orientation\\u0022:\\u0022landscape\\u0022},\\u0022large\\u0022:{\\u0022height\\u0022:586,\\u0022width\\u0022:819,\\u0022url\\u0022:\\u0022http:\/\/stefan-loser.de\/wordpress\/wp-content\/uploads\/2017\/02\/ppshader7-1024x733.jpg\\u0022,\\u0022orientation\\u0022:\\u0022landscape\\u0022},\\u0022full\\u0022:{\\u0022url\\u0022:\\u0022http:\/\/stefan-loser.de\/wordpress\/wp-content\/uploads\/2017\/02\/ppshader7.jpg\\u0022,\\u0022height\\u0022:854,\\u0022width\\u0022:1193,\\u0022orientation\\u0022:\\u0022landscape\\u0022}},\\u0022meta\\u0022:false},{\\u0022id\\u0022:732,\\u0022title\\u0022:\\u0022pp shader9\\u0022,\\u0022url\\u0022:\\u0022http:\/\/stefan-loser.de\/wordpress\/wp-content\/uploads\/2017\/02\/pp-shader9.png\\u0022,\\u0022link\\u0022:\\u0022http:\/\/stefan-loser.de\/wordpress\/?attachment_id=732\\u0022,\\u0022alt\\u0022:\\u0022\\u0022,\\u0022description\\u0022:\\u0022\\u0022,\\u0022caption\\u0022:\\u0022\\u0022,\\u0022mime\\u0022:\\u0022image\/png\\u0022,\\u0022type\\u0022:\\u0022image\\u0022,\\u0022width\\u0022:1183,\\u0022height\\u0022:799,\\u0022sizes\\u0022:{\\u0022thumbnail\\u0022:{\\u0022height\\u0022:150,\\u0022width\\u0022:150,\\u0022url\\u0022:\\u0022http:\/\/stefan-loser.de\/wordpress\/wp-content\/uploads\/2017\/02\/pp-shader9-150x150.png\\u0022,\\u0022orientation\\u0022:\\u0022landscape\\u0022},\\u0022medium\\u0022:{\\u0022height\\u0022:203,\\u0022width\\u0022:300,\\u0022url\\u0022:\\u0022http:\/\/stefan-loser.de\/wordpress\/wp-content\/uploads\/2017\/02\/pp-shader9-300x203.png\\u0022,\\u0022orientation\\u0022:\\u0022landscape\\u0022},\\u0022large\\u0022:{\\u0022height\\u0022:553,\\u0022width\\u0022:819,\\u0022url\\u0022:\\u0022http:\/\/stefan-loser.de\/wordpress\/wp-content\/uploads\/2017\/02\/pp-shader9-1024x692.png\\u0022,\\u0022orientation\\u0022:\\u0022landscape\\u0022},\\u0022full\\u0022:{\\u0022url\\u0022:\\u0022http:\/\/stefan-loser.de\/wordpress\/wp-content\/uploads\/2017\/02\/pp-shader9.png\\u0022,\\u0022height\\u0022:799,\\u0022width\\u0022:1183,\\u0022orientation\\u0022:\\u0022landscape\\u0022}},\\u0022meta\\u0022:false},{\\u0022id\\u0022:728,\\u0022title\\u0022:\\u0022ppshader10\\u0022,\\u0022url\\u0022:\\u0022http:\/\/stefan-loser.de\/wordpress\/wp-content\/uploads\/2017\/02\/ppshader10.png\\u0022,\\u0022link\\u0022:\\u0022http:\/\/stefan-loser.de\/wordpress\/?attachment_id=728\\u0022,\\u0022alt\\u0022:\\u0022\\u0022,\\u0022description\\u0022:\\u0022\\u0022,\\u0022caption\\u0022:\\u0022\\u0022,\\u0022mime\\u0022:\\u0022image\/png\\u0022,\\u0022type\\u0022:\\u0022image\\u0022,\\u0022width\\u0022:1204,\\u0022height\\u0022:648,\\u0022sizes\\u0022:{\\u0022thumbnail\\u0022:{\\u0022height\\u0022:150,\\u0022width\\u0022:150,\\u0022url\\u0022:\\u0022http:\/\/stefan-loser.de\/wordpress\/wp-content\/uploads\/2017\/02\/ppshader10-150x150.png\\u0022,\\u0022orientation\\u0022:\\u0022landscape\\u0022},\\u0022medium\\u0022:{\\u0022height\\u0022:161,\\u0022width\\u0022:300,\\u0022url\\u0022:\\u0022http:\/\/stefan-loser.de\/wordpress\/wp-content\/uploads\/2017\/02\/ppshader10-300x161.png\\u0022,\\u0022orientation\\u0022:\\u0022landscape\\u0022},\\u0022large\\u0022:{\\u0022height\\u0022:441,\\u0022width\\u0022:819,\\u0022url\\u0022:\\u0022http:\/\/stefan-loser.de\/wordpress\/wp-content\/uploads\/2017\/02\/ppshader10-1024x551.png\\u0022,\\u0022orientation\\u0022:\\u0022landscape\\u0022},\\u0022full\\u0022:{\\u0022url\\u0022:\\u0022http:\/\/stefan-loser.de\/wordpress\/wp-content\/uploads\/2017\/02\/ppshader10.png\\u0022,\\u0022height\\u0022:648,\\u0022width\\u0022:1204,\\u0022orientation\\u0022:\\u0022landscape\\u0022}},\\u0022meta\\u0022:false}],\\u0022itemsMetaDataCollection\\u0022:[{\\u0022link\\u0022:\\u0022\\u0022,\\u0022linkTarget\\u0022:\\u0022_self\\u0022,\\u0022linkText\\u0022:\\u0022\\u0022,\\u0022tags\\u0022:[],\\u0022id\\u0022:\\u0022728\\u0022}],\\u0022tagsListCustomMode\\u0022:false,\\u0022galleryTagsList\\u0022:[],\\u0022useClobalSettings\\u0022:false,\\u0022orderBy\\u0022:\\u0022custom\\u0022,\\u0022skin\\u0022:\\u0022grid\\u0022}\",\"extended_widget_opts_block\":{},\"extended_widget_opts\":{},\"extended_widget_opts_state\":\"\",\"extended_widget_opts_clientid\":\"\",\"dateUpdated\":\"\"}<\/script><script>(function(){if(window.PGC_SGB && window.PGC_SGB.searcher){window.PGC_SGB.searcher.initBlocks()}})()<\/script><\/div>","protected":false},"excerpt":{"rendered":"<p>In this tutorial I go over a material I&#8217;ve created in UE4. It is a post process rain shader which &#8211; based on the normals of meshes &#8211; projects rain on top of surfaces. <\/p>\n","protected":false},"author":1,"featured_media":728,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"pgc_sgb_lightbox_settings":"","footnotes":""},"class_list":["post-724","page","type-page","status-publish","has-post-thumbnail","hentry"],"_links":{"self":[{"href":"https:\/\/stefan-loser.de\/index.php?rest_route=\/wp\/v2\/pages\/724","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/stefan-loser.de\/index.php?rest_route=\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/stefan-loser.de\/index.php?rest_route=\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/stefan-loser.de\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/stefan-loser.de\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=724"}],"version-history":[{"count":7,"href":"https:\/\/stefan-loser.de\/index.php?rest_route=\/wp\/v2\/pages\/724\/revisions"}],"predecessor-version":[{"id":1740,"href":"https:\/\/stefan-loser.de\/index.php?rest_route=\/wp\/v2\/pages\/724\/revisions\/1740"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/stefan-loser.de\/index.php?rest_route=\/wp\/v2\/media\/728"}],"wp:attachment":[{"href":"https:\/\/stefan-loser.de\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=724"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}