= ShaderBlow :revnumber: 2.1 :revdate: 2020/07/10 image:plugin/shaderblow_intro_01.jpg[shaderblow_intro_01.jpg,width="",height=""] Collections of effects for jMonkeyEngine 3. To install the ShaderBlow plugin into the jMonkeyEngine SDK, go to Tools→Plugins→Available Plugins. You can always get the source of ShaderBlow project here: link:https://github.com/jMonkeyEngine-Contributions/shaderblowlib[ShaderBlow project Github] The source has many examples and tests to explain the capacity of shaders much better. * Filters: ** Basic SSAO ** ColorScale (added by @H) ** GrayScale (added by @H) ** Simple Refraction (added by @mifth) ** Old Film Effect (added by @H) ** Night Vision (added by @wezrule) ** Predator Thermal Vision (added by @wezrule) ** Frosted Glass effect (added by @wezrule) * Shaders ** Dissolver (added by @thetoucher) ** FakeParticleBlow (added by @mifth) ** Forceshield (added by @ficik) ** MatCap (added by @mifth) ** Glass (added by @mifth) ** Texture Bombing (added by @wezrule) [NOTE] ==== Official Forum: link:https://hub.jmonkeyengine.org/t/shaderblow-project/26655[https://hub.jmonkeyengine.org/forum/t/shaderblow-project/26655] Or you can use the forum threads of shaders. ==== ''' == ColorScale Filter The ColorScale filter applies a color to the render image. You can use this filter to tint the render according to one particular color without change any material (underwater scene, night scene, fire scene) or to achieve fade-in/fade-out effect. Features: * Allow to set the color to apply. Default is red. * Allow to set intensity of the color. Default is 0.7f. Frag shader clamps color intensity between 0 and 1. [cols="2"] |=== a|image:plugin/colorfilter2.png[ColorScale Filter OFF,width="400",height=""] a|image:plugin/colorfilter1.png[ColorScale filter ON,width="400",height=""] a|image:plugin/colorfilter3.png[ColorScale Filter ON,width="400",height=""] a|image:plugin/colorfilter4.png[ColorScale Filter,width="400",height=""] |=== === Usage Add a link:https://github.com/jMonkeyEngine-Contributions/shaderblowlib/blob/master/ShaderBlow/src/com/shaderblow/filter/colorscale/ColorScaleFilter.java[ColorScaleFilter] instance to a FilterPostProccesor instance. Set color and color intensity. Then add the FilterPostProccesor instance to Application's viewPort attribute. [source,java] ---- this.fpp = new FilterPostProcessor(this.assetManager); this.fpp.setNumSamples(4); this.colorScale = new ColorScaleFilter(); this.fpp.addFilter(this.colorScale); // colorScale.setFilterColor(ColorRGBA.Red.clone()); // Set Filter color // colorScale.setColorDensity(0.5f); // Set Color intensity (between 0 and 1); this.viewPort.addProcessor(this.fpp); ---- link:https://github.com/jMonkeyEngine-Contributions/shaderblowlib/blob/master/ShaderBlow/test-src/com/shaderblow/test/filter/color/TestColorScale.java[TestCase] link:https://hub.jmonkeyengine.org/t/colorscale-filter-added-to-shaderblow/23995[Forum thread] ''' == GrayScale Filter The GrayScale filter converts the render image to grayscale. [cols="2", options="header"] |=== a| *GrayScale Filter OFF* a| *GrayScale Filter ON* a|image:plugin/grayscalefilter-off.jpg[GrayScale Filter OFF,width="400",height=""] a|image:plugin/grayscalefilter-on.png[GrayScale Filter ON,width="400",height=""] |=== === Usage Add a link:https://github.com/jMonkeyEngine-Contributions/shaderblowlib/blob/master/ShaderBlow/src/com/shaderblow/filter/grayscale/GrayScaleFilter.java[GrayScaleFilter] instance to a FilterPostProccesor instance. Then add the FilterPostProccesor instance to Application's viewPort attribute. [source,java] ---- this.fpp = new FilterPostProcessor(this.assetManager); // Create FilterPostProcessor instance this.grayScale = new GrayScaleFilter(); // Create GrayScaleFilter instance this.fpp.addFilter(this.grayScale); // Add GrayScaleFilter instance to FilterPostProcessor instance this.viewPort.addProcessor(this.fpp); // Add FilterPostProcessor instance to ViewPort ---- link:https://github.com/jMonkeyEngine-Contributions/shaderblowlib/blob/master/ShaderBlow/test-src/com/shaderblow/test/filter/grayscale/TestGrayScale.java[TestCase] link:https://hub.jmonkeyengine.org/t/solved-grayscale-filter/23656[Forum thread] ''' == Old Film Effect Filter Old Film filter simulate the effect of a classic looking film effect. Features: * Allow to set the *filter's color*. Default is sepia (ColorRGBA(112f / 255f, 66f / 255f, 20f / 255f, 1.0f)). * Allow to set the *color's density*. Default is 0.7. Shader clamps this value between 0 to 1. The color image gets grayscale when color's density is set to 0. * Allow to set the *noise's density*. Default is 0.4. Shader clamps this value between 0 to 1. * Allow to set the *scratches' density*. Default is 0.3. Shader clamps this value between 0 to 1. * Allow to set the *vignetting's diameter*. Default is 0.9. Shader clamps this value between 0 to 1.4. Vignetting effect is made using two circles. The inner circle represents the region untouched by vignetting. The region between the inner and outer circle represent the area where vignetting starts to take place, which is a gradual fade to black from the inner to outer ring. Any part of the frame outside of the outer ring would be completely black. [NOTE] ==== I chose to clamp this value inside the frag shader code instead of using java code because I thought this way is faster (better from performace point of view). You can clamp this value using Java code if you want. ==== [cols="2",caption=] .YouTube |=== a|.Old Film Effect image:plugin/CgFzhkq-MKk.jpg[youtu.be/CgFzhkq-MKk,width="",height="",link="https://youtu.be/CgFzhkq-MKk"] a| |=== === Usage Add a link:https://github.com/jMonkeyEngine-Contributions/shaderblowlib/blob/master/ShaderBlow/src/com/shaderblow/filter/oldfilm/OldFilmFilter.java[OldFilmFilter] instance to a FilterPostProccesor instance. Then add the FilterPostProccesor instance to Application's viewPort attribute. [source,java] ---- this.fpp = new FilterPostProcessor(this.assetManager); // Create FilterPostProcessor instance this.oldFilmFilter= new OldFilmFilter(); // Create OldFilmFilter instance this.fpp.addFilter(this.oldFilmFilter); // Add OldFilmFilter instance to FilterPostProcessor instance this.viewPort.addProcessor(this.fpp); // Add FilterPostProcessor instance to ViewPort ---- link:https://github.com/jMonkeyEngine-Contributions/shaderblowlib/blob/master/ShaderBlow/test-src/com/shaderblow/test/filter/oldfilm/TestOldFilm.java[TestCase] link:https://hub.jmonkeyengine.org/t/old-film-effect-filter/25464[Forum thread] ''' == LightBlow Shader The Lightblow shader is an improved Lighting shader for JME. Features: * Improved lighting calculations. * Improved reflection calculations. * Reflection map implementation with alpha normal map. * Improved Minnaert calculations. * Hemispherical lighting. * Image Based Lighting with Albedo. * Emissive map implementation with diffuse alpha. * normalization of normals by default. * Specular map implementation with normal map alpha. * Specular intensity implementation. * Switching -x/-y/-z normals for different normal maps. (3dmax, blender, xnormal have different approaches). * Specular Color now works with specular maps * Glowblow fragment shader is added with m_GlowIntensity? uniform. It's possible to change glow intensity for objects. Please, use DiffuseMap? as GlowMap? instead of new additional Glow rgb texture. * Lightmaps are added. * Rim Lighting is added. Thanks to Thetoucher from JME Blog! * Fog is added. Fog is used without post-processing! * Texture Blending: 4 diffuse, 4 normal textures can be blended (Like Terrain System). Software for NormalMaps? making: link:https://shadermap.com/home/[https://shadermap.com/home/] + Software for CubeMaps? editing: link:https://code.google.com/archive/p/cubemapgen/downloads[https://code.google.com/archive/p/cubemapgen/downloads] + Watch following videos: [cols="2",caption=] .YouTube |=== a|.LightBlow Shader image:plugin/knROh_3o2uo.jpg[youtube_https://youtu.be/knROh_3o2uo,width="",height="",link="https://youtu.be/knROh_3o2uo"] a| |=== link:https://hub.jmonkeyengine.org/t/lightblow-shader/16182[Forum thread] ''' == Dissolver Shader The Dissolve Shader uses a simple grey scale image as an animated mask to hide a material. The shader incrementally clamps off the colour value, dark to light, and uses that for a masking texture to discard pixels. It is currently capped for convenience at 255 frames of animation and is only using one colour channel. In simple terms, in starts by only discarding the darkest parts of the texture map, then the slightly lighter parts, then the slightly lighter again and again until it eventually can't get any lighter (white), at which point the process is complete. [cols="2"] |=== a|image:plugin/dissolver-screen.png[Dissolver screenshot,width="400",height=""] a|image:plugin/dissolver-maps.png[Mask maps,width="400",height=""] |=== Starting at the top left we have: simple linear dissolve, organic dissolve and pixel dissolve. And bottom row: organic growth, texture masking, organic burn. Mask texture maps on the second image. The test is oscillating the dissolve amount between 0 and 1. It demonstrates 6 different uses for the shader, all running at the same speed. The top row are straight forward dissolves. The bottom row shows 3 potential applications: . Organic Growth (bottom left) over a mesh, this could work both animating rapidly for a fast grow effect, or set to a fixed value e.g. set to 0.5f is "`50% covered in growth`"; . Texture Masking (bottom middle) , I see this is probably where the most practical applications will come from. The demonstration shows a poorly photoshopped clean street, pieces of garbage are then scattered around dependant on the dissolve amount, this would work best with a fixed value eg set to .75 is "`75% dirty`". Texture Masking could be also be used for: .. paint damage on a car; .. lacerations on a character; .. the blood shot eye effect that creeps in from the sides of the screen when you’ve taken too much damage in a modern FPS. . Organic Burn (bottom right) is comprised of 2 cubes, one blue, one orange, both with the same organic dissolve, however the orange one is slightly offset ahead of the blue so it shows first (ie the dissolve amount is always slight advanced). Watch following videos: [cols="2"caption=] .YouTube |=== a|.GLSL Dissolve Shader image:plugin/ry0r_qwFQLQ.jpg[youtube_ry0r_qwFQLQ,width="",height="",link="https://youtu.be/ry0r_qwFQLQ"] a|.mTheoryGame image:plugin/wUfMcN1Uv48.jpg[youtube_wUfMcN1Uv48,width="",height="",link="https://youtu.be/wUfMcN1Uv48"] |=== === Usage The shader requires 2 parameters: * a Texture2D texture map to use as the dissolve map; and * a Vector2 of internal params params: ** the first is a float value being the amount of dissolve, a value from 0-1 : 0 being no dissolve, being fully dissolved; and ** the second value is an int use as an inversion switch, 1 to invert the dissolve/discard, 0 to leave as is. [NOTE] ==== Dissolver is based on Common/MatDefs/Lighting.j3md. So, all Common/MatDefs/Lighting.j3md features should be available on the dissolver too. ==== [source,java] ---- // Create a material instance using ShaderBlow's Lighting.j3md final Material mat = new Material(this.assetManager, "ShaderBlow/MatDefs/Dissolve/Lighting.j3md"); mat.setColor("Ambient", ColorRGBA.Blue); mat.setColor("Diffuse", ColorRGBA.White); mat.setColor("Specular", ColorRGBA.Black); mat.setBoolean("UseMaterialColors", true); this.assetManager.loadTexture("TestTextures/Dissolve/burnMap.png", mat.setTexture("DissolveMap", map)); // Set mask texture map this.DSParams = new Vector2f(0, 0); // standard dissolver //this.DSParamsInv = new Vector2f(0, 1); // inverted dissolver mat.setVector2("DissolveParams", this.DSParams); // Set params final Box b = new Box(Vector3f.ZERO, 1, 1, 1); final Geometry geom = new Geometry("Box", b); geom.setMaterial(mat); ---- link:https://github.com/jMonkeyEngine-Contributions/shaderblowlib/blob/master/ShaderBlow/test-src/com/shaderblow/test/dissolve/TestDissolve.java[TestCase] link:https://hub.jmonkeyengine.org/t/dissolve-shader/18720[Forum thread] ''' == FakeParticleBlow Shader Effect for fire or engine of a ship. Such an effect is used in the "`Eve Online`" game for ship engines. Features: . GPU animation (now you don’t need simpleUpdate(float tpf) for the shader). Animation is made displacing the texture according to X and/or Y axis. . X and/or Y animation direction. No animation is supported also. . Animation direction changer. By default the Y axis animation's direction is up-to-down and the X axis animation's direction is right-to-left. . Allow to set animation speed. . Allow to set mask texture in order to set particle shape. . Allow to set particle color. . Allow to set fog color. Fog color is applied to the material using for color's alpha value as fog distance factor. [cols="2"] |=== a|image:plugin/fakeparticleblow.png[FakeParticleBlow,width="400",height=""] a|.Fog applied to blue fire image:plugin/fakeparticleblow3.png[FakeParticleBlow,width="400",height=""] |=== [cols="2",caption=] .YouTube |=== a|.FakeParticleBlow Shader image:plugin/hdQop4yZ-lA.jpg[youtube_hdQop4yZ-lA,width="",height="",link="https://youtu.be/hdQop4yZ-lA"] a| |=== === Usage Create a material (by SDK or by code) using link:https://github.com/jMonkeyEngine-Contributions/shaderblowlib/blob/master/ShaderBlow/assets/ShaderBlow/MatDefs/FakeParticleBlow/FakeParticleBlow.j3md[FakeParticleBlow.j3md]. Set material's parameters and set the material to a spatial. Most of the cases the spatial will be 4 to 10 planes in the same location but rotated on Y axis using different angles for each plane. Something similar to this: image:plugin/fakeobject.png[fakeobject.png,width="100",height=""] [IMPORTANT] ==== Remember to set the queue bucket to transparent for the spatial. ==== [source,java] ---- // Create the material final Material mat = new Material(this.assetManager, "ShaderBlow/MatDefs/FakeParticleBlow/FakeParticleBlow.j3md"); // Create the mask texture to use final Texture maskTex = this.assetManager.loadTexture("TestTextures/FakeParticleBlow/mask.png"); mat.setTexture("MaskMap", maskTex); // Create the texture to use for the spatial. final Texture aniTex = this.assetManager.loadTexture("TestTextures/FakeParticleBlow/particles.png"); aniTex.setWrap(WrapMode.MirroredRepeat); // NOTE: Set WrapMode = MirroredRepeat in order to animate the texture mat.setTexture("AniTexMap", aniTex); // Set texture mat.setFloat("TimeSpeed", 2); // Set animation speed mat.setColor("BaseColor", ColorRGBA.Green.clone()); // Set base color to apply to the texture // mat.setBoolean("Animation_X", true); // Enable X axis animation mat.setBoolean("Animation_Y", true); // Enable Y axis animation mat.setBoolean("Change_Direction", true); // Change direction of the texture animation mat.getAdditionalRenderState().setFaceCullMode(FaceCullMode.Off); // Allow to see both sides of a face mat.getAdditionalRenderState().setBlendMode(BlendMode.Additive); final ColorRGBA fogColor = ColorRGBA.Black.clone(); fogColor.a = 10; // fogColor's alpha value is used to calculate the intensity of the fog (distance to apply fog) mat.setColor("FogColor", fogColor); // Set fog color to apply to the spatial. final Quad quad = new Quad(3, 3); // Create an spatial. A plane in this case final Geometry geom = new Geometry("Particle", quad); geom.setMaterial(mat); // Assign the material to the spatial TangentBinormalGenerator.generate(geom); geom.setQueueBucket(Bucket.Transparent); // Remember to set the queue bucket to transparent for the spatial ---- To get green/yellow/blue fog (not transparency): [source,java] ---- mat.getAdditionalRenderState().setBlendMode(BlendMode.AlphaAdditive); final ColorRGBA fogColor = ColorRGBA.Blue.clone(); ---- Several planes geometries will be required as there will be AlphaAdditive material. link:https://github.com/jMonkeyEngine-Contributions/shaderblowlib/blob/master/ShaderBlow/test-src/com/shaderblow/test/fakeparticleblow/TestFakeParticleBlow.java[TestCase 1] + link:https://github.com/jMonkeyEngine-Contributions/shaderblowlib/blob/master/ShaderBlow/test-src/com/shaderblow/test/fakeparticleblow/TestFakeParticleBlow2.java[TestCase 2] link:https://hub.jmonkeyengine.org/t/fakeparticleblow-shader/16443[Forum thread] ''' == Forceshield Shader Forcefield shader adds shield effect to a spatial. The spatial will be a sphere most of the cases, but box or oval should be possible to use. Only problem is that it has to be higher-poly because distance is calculated from vertex. Hits are registred as contact point position using this control and effect animation is based on distance from contact point and time. Max number of hits displayed is 4. Features: * Allow to set texture of the shield. * Allow to set color of the shield. * Allow to set minimal visibility (similar to alpha value). Default is 0, that means shield is no displayed, only hit animations. * Allow to set effect duration. Default is 0.5s. * Allow to set effect size. Default is 1. * Allow to enable/disable hit animations. [cols="2",caption=] .YouTube |=== a|.Forceshield Shader image:plugin/uu2nbaBM9Pk.jpg[youtube_uu2nbaBM9Pk,width="",height="",link="https://youtu.be/uu2nbaBM9Pk"] a|.Forceshield Cube Shader image:plugin/urzMiUeHsCc.png[youtube_urzMiUeHsCc,width="",height="",link="https://youtu.be/urzMiUeHsCc"] |=== === Usage Create a Spatial instance. Create a link:https://github.com/jMonkeyEngine-Contributions/shaderblowlib/blob/master/ShaderBlow/src/com/shaderblow/forceshield/ForceShieldControl.java[ForceShieldControl] instance. Add the control instance to the spatial. [IMPORTANT] ==== If you experience problems, try higher polygon object. ==== [source,java] ---- // Create spatial to be the shield final Sphere sphere = new Sphere(30, 30, 1.2f); final Geometry shield = new Geometry("forceshield", sphere); shield.setQueueBucket(Bucket.Transparent); // Remember to set the queue bucket to transparent for the spatial // Create ForceShieldControl this.forceShieldControl = new ForceShieldControl(this.assetManager, 0.5f); shield.addControl(this.forceShieldControl); // Add the control to the spatial this.forceShieldControl.setEffectSize(2f); // Set the effect size this.forceShieldControl.setColor(new ColorRGBA(1, 0, 0, 3)); // Set effect color this.forceShieldControl.setVisibility(0.1f); // Set shield visibility. // Set a texture to the shield this.forceShieldControl.setTexture(this.assetManager.loadTexture("TestTextures/ForceShield/fs_texture.png")); // this.forceShieldControl.setEnabled(false); // Enable, disable animation. ---- Use _forceShieldControl.registerHit(final Vector3f position)_ method to register a hit. [source,java] ---- final CollisionResults crs = new CollisionResults(); this.rootNode.collideWith(new Ray(this.cam.getLocation(), this.cam.getDirection()), crs); if (crs.getClosestCollision() != null) { // Register a hit this.forceShieldControl.registerHit(crs.getClosestCollision().getContactPoint()); } ---- link:https://github.com/jMonkeyEngine-Contributions/shaderblowlib/blob/master/ShaderBlow/test-src/com/shaderblow/test/forceshield/TestShield.java[TestCase] link:https://hub.jmonkeyengine.org/t/forceshield-my-very-first-shader/18673[Forum thread] ''' == MatCap Shader MatCap shader will be very useful for scrollshooters to imitate different materials like glass, gold, metals. The shader does not use any lights, only one texture. Features: * Fog color and fog skybox. * Toon edge effect. * Multiply color: set a color to change texture's color. * Normal map. [cols="2"] |=== a|image:plugin/shaderblow_matcap.jpg[MatCap shader,width="400",height=""] a|image:plugin/matcap3.png[Multiply color,width="400",height=""] a|image:plugin/matcap1.png[Toon edge effect,width="400",height=""] a|image:plugin/matcap2.png[Fog effect,width="400",height=""] |=== === Usage Create a material (by SDK or by code) using link:https://github.com/jMonkeyEngine-Contributions/shaderblowlib/blob/master/ShaderBlow/assets/ShaderBlow/MatDefs/MatCap/MatCap.j3md[MatCap.j3md]. Set material's parameters and set the material to a spatial. [IMPORTANT] ==== Remember to add a DirectionalLight if you want to use toon edge effect. ==== [source] ---- Material My Material : ShaderBlow/MatDefs/MatCap/MatCap.j3md { MaterialParameters { DiffuseMap : Flip TestTextures/matcaps/met2.png Nor_Inv_Y : true Nor_Inv_X : false Nor_Inv_Z : false NormalMap : TestModels/LightBlow/jme_lightblow_nor.png FogSkyBox : Flip TestTextures/Water256.dds Toon : true EdgesColor : 1.0 0.0 0.0 1.0 EdgeSize : 0.01 Fog_Edges : true } AdditionalRenderState { } } ---- link:https://github.com/jMonkeyEngine-Contributions/shaderblowlib/blob/master/ShaderBlow/test-src/com/shaderblow/test/matcap/TestMatCap.java[TestCase] link:https://hub.jmonkeyengine.org/t/glsl-matcap-shader-done/18920[Forum thread] ''' == Glass Shader Features: * Fog color and fog skybox. * Toon edge effect. * Multiply color: set a color to change texture's color. * Normal map. [cols="2"] |=== a|image:plugin/glass-shader.png[Glass shader,width="400",height=""] a|image:plugin/glass-shader2.png[Glass Shader and Fog Color effect,width="400",height=""] |=== === Usage Create a material (by SDK or by code) using link:https://github.com/jMonkeyEngine-Contributions/shaderblowlib/blob/master/ShaderBlow/assets/ShaderBlow/MatDefs/Glass/Glass.j3md[Glass.j3md]. Set material's parameters and set the material to a spatial. [IMPORTANT] ==== Remember to add a DirectionalLight if you want to use toon edge effect. ==== [source] ---- Material My Material : ShaderBlow/MatDefs/Glass/Glass.j3md { MaterialParameters { RefMap : Flip TestTextures/Water256.dds Multiply_Color : 1.1 1.5 1.1 1.0 colorIntensity : 0.79999995 Nor_Inv_Y : true NormalMap : TestModels/LightBlow/jme_lightblow_nor.png ChromaticAbberation : true abberIndex : 0.04 specularIntensity : 0.59999996 Toon : true EdgesColor : 0.2 1.0 0.0 1.0 EdgeSize : 0.01 Fog_Edges : true } AdditionalRenderState { } } ---- link:https://github.com/jMonkeyEngine-Contributions/shaderblowlib/blob/master/ShaderBlow/test-src/com/shaderblow/test/glass/TestGlass.java[TestCase] link:https://hub.jmonkeyengine.org/t/glsl-glass-shader-done/19050[Forum thread] ''' == SimpleRefraction PostProcessor/Filter Features: * Cool refraction effect [cols="2",caption=] .YouTube |=== a|.SimpleRefraction PostProcessor image:plugin/EAUKCU5GRmc.jpg[youtube_EAUKCU5GRmc,width="",height="",link="https://youtu.be/EAUKCU5GRmc"] a| |=== === Usage link:https://github.com/jMonkeyEngine-Contributions/shaderblowlib/blob/master/ShaderBlow/test-src/com/shaderblow/test/simplerefraction/TestSimpleRefraction.java[TestCase for PostProcessor] link:https://github.com/jMonkeyEngine-Contributions/shaderblowlib/blob/master/ShaderBlow/src/com/shaderblow/filter/simplerefractionfilter/SimpleRefractionFilter.java[TestCase for Filter] ''' == BasicSSAO Filter Features: * Cool Shadows. [cols="2"] |=== a|image:plugin/shaderblow_ssao.png[Glass shader,width="400",height=""] a| |=== === Usage link:https://github.com/jMonkeyEngine-Contributions/shaderblowlib/blob/master/ShaderBlow/test-src/com/shaderblow/test/filter/basicssao/TestBasicSSAO.java[TestCase] link:https://hub.jmonkeyengine.org/t/wip-basicssao-added-optional-smoothing/23490[Forum thread] ''' == Electricity Shaders Features: * Cool Electricity effect [cols="2",caption=] .YouTube |=== a|.Electricity Shaders image:plugin/JDTES95HnPE.jpg[youtube_JDTES95HnPE,width="",height="",link="https://youtu.be/JDTES95HnPE"] a| |=== link:https://hub.jmonkeyengine.org/t/electricity-shaders/23436[Forum thread] ''' == SimpleSprite Shader Features: * GPU animated texture. [cols="2"] |=== a|image:plugin/shaderblow_simplesprite_shader.png[Glass shader,width="400",height=""] a| |=== [cols="2",caption=] .YouTube |=== a|.SimpleSprite Shader image:plugin/7XFxbt-dw3I.jpg[youtube_7XFxbt-dw3I,width="",height="",link="https://youtu.be/7XFxbt-dw3I"] a| |=== link:https://hub.jmonkeyengine.org/t/texture-animation-shader-done/19579[Forum thread] ''' == Bubble Shader Features: * Cool nice bubble. [cols="2",caption=] .YouTube |=== a|.Bubble Shader image:plugin/rkFbLZ1EOhg.jpg[youtube_rkFbLZ1EOhg,width="",height="",link="https://youtu.be/rkFbLZ1EOhg"] a| |=== link:https://hub.jmonkeyengine.org/t/bubble-shader/26169[Forum thread] ''' == SimpleSpriteParticle Shader Features: static sprite speed: can render 1500000 sprites at 149 fps ( 0% cpu load, speed limited only by graphics card ). As long as you don’t change them (add, move, delete, change image). FULL LIBRARY PLUGIN: link:https://code.google.com/archive/p/petomancer/downloads[http://code.google.com/p/petomancer/downloads/detail?name=SpriteLibrary.zip&can=2&q=] image:plugin/shaderblow_simplespriteparticle_shader.png[shaderblow_simplespriteparticle_shader.png,width="400",height=""] link:https://hub.jmonkeyengine.org/t/spritelibrary-efficient-render-of-sprites/20901[Forum thread] ''' == Texture Bombing Features: * Applying random images from a texture atlas to a model by dividing up the model's UV textures into cells. [cols="2",caption=] .YouTube |=== a|.GLSL Texture Bomb image:plugin/3lBhu2c5V8o.jpg[youtube_3lBhu2c5V8o,width="",height="",link="https://youtu.be/3lBhu2c5V8o"] a| |=== === Usage link:https://github.com/jMonkeyEngine-Contributions/shaderblowlib/blob/master/ShaderBlow/test-src/com/shaderblow/test/texturebombing/TestTextureBombing.java[TestCase] link:https://hub.jmonkeyengine.org/t/texture-glyph-bombing-shader/26867[Forum thread] ''' == Night Vision Features: * Apply a mask (Binoculars) and color to emulate night vision mode. [cols="2",caption=] .YouTube |=== a|.Night Vision Post Processor image:plugin/mNsjAVUTDPs.jpg[youtube_mNsjAVUTDPs,width="",height="",link="https://youtu.be/mNsjAVUTDPs"] a| |=== === Usage link:https://github.com/jMonkeyEngine-Contributions/shaderblowlib/blob/master/ShaderBlow/test-src/com/shaderblow/test/filter/nightvision/TestNightVision.java[TestCase] link:https://hub.jmonkeyengine.org/t/night-vision-filter-available-in-shaderblow-plugin/26892[Forum thread] ''' == Predator Thermal Vision Features: * Changes the color in the scene to emulate the predator thermal vision effect [cols="2",caption=] .YouTube |=== a|.Predator Thermal Vision image:plugin/DqBwCWVwTFQ.jpg[youtube_DqBwCWVwTFQ,width="",height="",link="https://youtu.be/DqBwCWVwTFQ"] a| |=== === Usage link:https://github.com/jMonkeyEngine-Contributions/shaderblowlib/blob/master/ShaderBlow/test-src/com/shaderblow/test/filter/predatorvision/TestPredatorVision.java[TestCase] link:https://hub.jmonkeyengine.org/t/predator-thermal-vision-filter-available-in-the-shaderblow-plugin/27005[Forum thread] ''' == Frosted glass effect Features: * Displays a frosted glass effect over the current scene [cols="2",caption=] .YouTube |=== a|.Frosted Glass effect Filter image:plugin/Bb0jVjqvURw.jpg[youtube_Bb0jVjqvURw,width="",height="",link="https://youtu.be/Bb0jVjqvURw"] a| |=== === Usage link:https://github.com/jMonkeyEngine-Contributions/shaderblowlib/blob/master/ShaderBlow/test-src/com/shaderblow/test/filter/frostedglass/TestFrostedGlass.java[TestCase] link:https://hub.jmonkeyengine.org/t/frosted-glass-filter-available-in-the-shaderblow-plugin/27023[Forum thread] '''