ShaderGraph | Unity ShaderGraph project | Graphics library

 by   Unity-Technologies C# Version: 1.1.8-preview License: Non-SPDX

kandi X-RAY | ShaderGraph Summary

kandi X-RAY | ShaderGraph Summary

ShaderGraph is a C# library typically used in User Interface, Graphics, Unity applications. ShaderGraph has no bugs, it has no vulnerabilities and it has medium support. However ShaderGraph has a Non-SPDX License. You can download it from GitHub.

Unity ShaderGraph project
Support
    Quality
      Security
        License
          Reuse

            kandi-support Support

              ShaderGraph has a medium active ecosystem.
              It has 1144 star(s) with 149 fork(s). There are 735 watchers for this library.
              OutlinedDot
              It had no major release in the last 6 months.
              ShaderGraph has no issues reported. There are no pull requests.
              It has a neutral sentiment in the developer community.
              The latest version of ShaderGraph is 1.1.8-preview

            kandi-Quality Quality

              ShaderGraph has 0 bugs and 0 code smells.

            kandi-Security Security

              ShaderGraph has no vulnerabilities reported, and its dependent libraries have no vulnerabilities reported.
              ShaderGraph code analysis shows 0 unresolved vulnerabilities.
              There are 0 security hotspots that need review.

            kandi-License License

              ShaderGraph has a Non-SPDX License.
              Non-SPDX licenses can be open source with a non SPDX compliant license, or non open source licenses, and you need to review them closely before use.

            kandi-Reuse Reuse

              ShaderGraph releases are not available. You will need to build from source code and install.

            Top functions reviewed by kandi - BETA

            kandi's functional review helps you automatically verify the functionalities of the libraries and avoid rework.
            Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of ShaderGraph
            Get all kandi verified functions for this library.

            ShaderGraph Key Features

            No Key Features are available at this moment for ShaderGraph.

            ShaderGraph Examples and Code Snippets

            No Code Snippets are available at this moment for ShaderGraph.

            Community Discussions

            QUESTION

            HLSL vs GLSL, in writing Unity shaders
            Asked 2021-Jan-08 at 17:19

            confused about the shading language to use ( HLSL or GLSL ), because of supporting platforms. HLSL resources are available in abundance, but I saw through the web that it's specific to DirectX (windows). Would that be a problem if I'm planning to run my application on android? -I can't rely completely on ShaderGraph-

            Thanks

            ...

            ANSWER

            Answered 2021-Jan-08 at 17:19

            You can use HLSL in Unity on Android platforms. From the documentation:

            HLSL syntax

            The HLSL language itself has two syntaxes: a “legacy” DX9-style syntax, and a more modern DX10+ style syntax.

            The difference is mostly in how texture sampling functions work:

            • The legacy syntax uses sampler2D, tex2D() and similar functions. This syntax works on all platforms.
            • The DX10+ syntax uses Texture2D, SamplerState and .Sample() functions. Some forms of this syntax do not work on OpenGL platforms, due to how textures and samplers are not different objects in OpenGL. In Unity, you can avoid problems with HLSL syntax platform support by using predefined macros to declare and sample textures. Unity expands these macros to the most appropriate syntax, depending on the platform that the shader is being compiled for.
            Shader compilers

            Different platforms use different shader compilers for shader program compilation as follows:

            • Windows and Microsoft platforms (DX11, DX12 and Xbox One) all use Microsoft’s HLSL compiler (currently FXC / D3DCompiler_47).
            • OpenGL (Core & ES), Metal and Vulkan use Microsoft’s HLSL followed by bytecode translation into GLSL, Metal or SPIR-V, using HLSLcc.
            • Other console platforms use their respective compilers (e.g. PSSL on PS4).
            • Surface Shaders use HLSL and MojoShader for code generation analysis step.

            Source https://stackoverflow.com/questions/65616799

            QUESTION

            How do you fade out an object in a scene from an animation clip?
            Asked 2020-Dec-09 at 08:59

            I have a scene in Unity, with animated assets. The animated asset is a custom prefab effect with multiple animated objects nested within it. The asset runs in a loop, all the objects are assigned a PBR shader using shadergraph. Some of the assets fade out at the end, while others simply disappear. I can control when an object disappears on the timeline by disabling it. But others need to fade away. I suspect I can fade out those objects by changing the alpha of the PBR shadergraph material at a specific point in time in the animation clip. Can anyone advise the process or links to tutorials on how to fade out an object, starting at a specific point in time in an animation clip, and also set the duration required when the object becomes completely invisible ?

            ...

            ANSWER

            Answered 2020-Dec-09 at 08:59

            To achieve what you wanted you would need to add an AnimationEvent into your Animaton.

            You can do that with the Rectangle Symbol you find over the Animation Window Properties.

            You can now use that AnimationEvent to call a Function in a Script that will fade out the object.

            Also make sure to pass in what amount of time you want to fade the object as a float and the current GameObject as an Object into the function.

            AnimationEvent Function:

            Source https://stackoverflow.com/questions/65212015

            QUESTION

            Using HDRP Rendering Pipeline
            Asked 2020-Jun-09 at 07:55

            I just tried to create a Smoke and Fire particle system in Unity version 2019.1.14f1. I installed ShaderGraph and followed a Tutorial by Brackeys. I couldn't go far because I didn't have HDRP on the project. It was simply a 3D project. I used this website to figure out how to change to HDRP. I did so, but it won't render the project. It says "Platform WebGL with device Open GLES3 is not supported, no rendering will occur". I then tried to switch back to the normal rendering system. Now it won't let me share my WebGl game. I don't know for sure that these two problem are connected, but seems like it. I don't know if that is a problem with my computer, but I have added the specs below. How do I switch my current rendering system to HDRP, so I can create a nice Fire/Smoke Particle System?

            ...

            ANSWER

            Answered 2020-Jun-09 at 07:55

            WebGL is based on OpenGL ES and unfortunately, HDRP doesnt support OpenGL ES devices so there is no way to run it on WebGL.

            However, URP (Universal Render Pipeline) would be much better way for WebGL. And yes, URP supports Shader Graph.

            Here is URP page: https://unity.com/srp/universal-render-pipeline

            Source https://stackoverflow.com/questions/62274016

            QUESTION

            How do I blend texture over other texture in unity shadergraph but only on the shadow side?
            Asked 2020-Mar-23 at 10:56

            I am currently making a game based around colonizing planets, and i would like to know how I overlap a lightmap texture of the earth on a sphere, but only at the positions wich are affected by shadow in shadergraph. I am using unity 2020.1.0a25 with the universal render pipeline.

            ...

            ANSWER

            Answered 2020-Mar-23 at 10:56

            The distribution of light across a sphere is at its most basic level determined by the dot product between the surface normal and the vector towards the light. This is called lambert shading. In shader language, it would be written like this:

            Source https://stackoverflow.com/questions/60588708

            Community Discussions, Code Snippets contain sources that include Stack Exchange Network

            Vulnerabilities

            No vulnerabilities reported

            Install ShaderGraph

            You can download it from GitHub.

            Support

            For any new features, suggestions and bugs create an issue on GitHub. If you have any questions check and ask questions on community page Stack Overflow .
            Find more information at:

            Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items

            Find more libraries
            CLONE
          • HTTPS

            https://github.com/Unity-Technologies/ShaderGraph.git

          • CLI

            gh repo clone Unity-Technologies/ShaderGraph

          • sshUrl

            git@github.com:Unity-Technologies/ShaderGraph.git

          • Stay Updated

            Subscribe to our newsletter for trending solutions and developer bootcamps

            Agree to Sign up and Terms & Conditions

            Share this Page

            share link

            Explore Related Topics

            Consider Popular Graphics Libraries

            three.js

            by mrdoob

            pixijs

            by pixijs

            pixi.js

            by pixijs

            tfjs

            by tensorflow

            filament

            by google

            Try Top Libraries by Unity-Technologies

            ml-agents

            by Unity-TechnologiesC#

            UnityCsReference

            by Unity-TechnologiesC#

            EntityComponentSystemSamples

            by Unity-TechnologiesC#

            FPSSample

            by Unity-TechnologiesC#

            PostProcessing

            by Unity-TechnologiesC#