• News
  • Learn
  • Sign Up
  • Log In
    • See Tags...
    LOG INTO VESTA

    Username

    Password

    Forgot Password?

    Custom three.js and JanusWeb Shader Demo

    by Spyduck
    1 Likes
    Clone

    Shader applies a neon filter in JanusWeb. This does not work in JanusVR native, and will just show the geometry as if there was no shader applied. You'll need a glsl shader compatible with that (TODO: add a native app shader.)

    To try it on your own stuff, click Clone and make sure you're using janusweb_neon_shader.js from the source. Objects to apply the shader to should have "neon_shader" in the js_id (this is a workaround until JanusWeb supports the shader_id attribute). May not work for non-objects (text, etc.) as I haven't tested that.

    This *may* have issues with textures on gltf assets until the next release of JanusWeb (currently on 1.3.2 as I write this)

    Hue cycling effect is done with another script in the source. It's not part of the shader.

    #threejs #janusweb #shader #neon

    2975 viewsPosted

    Suggested

    Landscape Adventure by tagzerz

    Vinesauce Death Reel (Super Mario 3D World) by Spyduck

    gunpigEW landing by gunpigEW

    Apollo 17 Landing Zone by Firefoxg

    Metal Sphere With Duck Screens by Spyduck

    Pixel Island - Legacy by dizzket

    Comments

    0/280

    Message

    Embed Webspace

    Copy embed HTML:

    Report Webspace

    Please read the Community Guidelines page if you have questions about reporting.
    The reason for reporting this webspace:

    NSFW Content Warning

    You must be logged in, with NSFW Content enabled in your Account Settings to view this webspace.

    You may create a free account here