{"id":1695,"date":"2017-03-17T21:03:22","date_gmt":"2017-03-17T21:03:22","guid":{"rendered":"http:\/\/spaceengine.org\/?p=1695"},"modified":"2017-08-18T22:24:13","modified_gmt":"2017-08-18T22:24:13","slug":"blog-post-of-17-march-2017","status":"publish","type":"post","link":"https:\/\/spaceengine.org\/news\/blog170317\/","title":{"rendered":"Pseudo lens flare"},"content":{"rendered":"<p>Continue developing post-effect shaders. First, simple color enhancement. Will be configurable.<\/p>\n<table>\n<tr>\n<td><a href=\"http:\/\/forum.spaceengine.org\/download\/file.php?id=2242\" target=\"_blank\"><img decoding=\"async\" src=\"https:\/\/forum.spaceengine.org\/download\/file.php?id=2242&t=1\"><\/a><\/td>\n<td><a href=\"http:\/\/forum.spaceengine.org\/download\/file.php?id=2243\" target=\"_blank\"><img decoding=\"async\" src=\"https:\/\/forum.spaceengine.org\/download\/file.php?id=2243&t=1\"><\/a><\/td>\n<\/tr>\n<\/table>\n<p>Next, the effect called <a href=\"http:\/\/john-chapman-graphics.blogspot.ru\/2013\/02\/pseudo-lens-flare.html\">pseudo lens flare<\/a>.<\/p>\n<p><a href=\"http:\/\/forum.spaceengine.org\/download\/file.php?id=2244\" target=\"_blank\"><img decoding=\"async\" src=\"https:\/\/forum.spaceengine.org\/download\/file.php?id=2244&t=1\"><\/a><\/p>\n<p><a href=\"http:\/\/forum.spaceengine.org\/download\/file.php?id=2245\" target=\"_blank\"><img decoding=\"async\" src=\"https:\/\/forum.spaceengine.org\/download\/file.php?id=2245&t=1\"><\/a><\/p>\n<p>Flares inherits the shape of the light source.<\/p>\n<p><a href=\"http:\/\/forum.spaceengine.org\/download\/file.php?id=2246\" target=\"_blank\"><img decoding=\"async\" src=\"https:\/\/forum.spaceengine.org\/download\/file.php?id=2246&t=1\"><\/a><\/p>\n<p>Any light source now can generate flares, even brightly illuminated object.<\/p>\n<p><a href=\"http:\/\/forum.spaceengine.org\/download\/file.php?id=2250\" target=\"_blank\"><img decoding=\"async\" src=\"https:\/\/forum.spaceengine.org\/download\/file.php?id=2250&t=1\"><\/a><\/p>\n<p><a href=\"http:\/\/forum.spaceengine.org\/download\/file.php?id=2248\" target=\"_blank\"><img decoding=\"async\" src=\"https:\/\/forum.spaceengine.org\/download\/file.php?id=2248&t=1\"><\/a><\/p>\n<p><a href=\"http:\/\/forum.spaceengine.org\/download\/file.php?id=2249\" target=\"_blank\"><img decoding=\"async\" src=\"https:\/\/forum.spaceengine.org\/download\/file.php?id=2249&t=1\"><\/a><\/p>\n<p><a href=\"http:\/\/forum.spaceengine.org\/download\/file.php?id=2247\" target=\"_blank\"><img decoding=\"async\" src=\"https:\/\/forum.spaceengine.org\/download\/file.php?id=2247&t=1\"><\/a><\/p>\n<p>Effect is fully integrated into the engine: added preset config files similar to those for old lens flares, added drop-down box to the graphics settings menu, sliders to adjust effect brightness. It is not possible to assign a custom texture to the lens ghosts, because they are actually a blurred frame image, sampled several times. So modding ability of this effect is minimal. You can change the dirty lens texture, \"star rays\" texture, radial colouring texture, and number and intensity of ghosts.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Continue developing post-effect shaders. First, simple color enhancement. Will be configurable. Next, the effect called pseudo lens flare. Flares inherits the shape of the light source. Any light source now can generate flares, even brightly illuminated object. Effect is fully integrated into the engine: added...<\/p>\n","protected":false},"author":2,"featured_media":1622,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1,2],"tags":[],"class_list":["post-1695","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-news","category-runews"],"_links":{"self":[{"href":"https:\/\/spaceengine.org\/wp-json\/wp\/v2\/posts\/1695","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/spaceengine.org\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/spaceengine.org\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/spaceengine.org\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/spaceengine.org\/wp-json\/wp\/v2\/comments?post=1695"}],"version-history":[{"count":2,"href":"https:\/\/spaceengine.org\/wp-json\/wp\/v2\/posts\/1695\/revisions"}],"predecessor-version":[{"id":1875,"href":"https:\/\/spaceengine.org\/wp-json\/wp\/v2\/posts\/1695\/revisions\/1875"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/spaceengine.org\/wp-json\/wp\/v2\/media\/1622"}],"wp:attachment":[{"href":"https:\/\/spaceengine.org\/wp-json\/wp\/v2\/media?parent=1695"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/spaceengine.org\/wp-json\/wp\/v2\/categories?post=1695"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/spaceengine.org\/wp-json\/wp\/v2\/tags?post=1695"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}