SF has now been discontinued - thank you for all your feedback!

Shader Forge development has now been discontinued, due to me not having the time to work on it anymore, and support it as much as you all deserve! I'm moving on to future projects.


If you want an up-to-date shader editor, I recommend checking out Unity's Shader Graph or Amplify Shader Editor. You can also grab the Shader Forge source code on GitHub!


For all of you who were part of this community, thank you so much for providing feedback, reporting bugs and helping each other out, as well as helping Shader Forge grow! I couldn't have done this without you all :)


// Freya Holmér

Changelog




Popular ideas 653

+1
À l'étude

Unpack Normal Node

cg magic il y a 12 ans mis à jour par Alon Tako il y a 10 ans 8
+1

Value Node Limit

Deo il y a 11 ans 0
+1
À l'étude

Strumpy Shader Editor style overlay when panning around would be wicked

marko permanto il y a 12 ans mis à jour par Freya Holmér (Developer) il y a 12 ans 0
+1

_Projector built-in matrix

Drew Burden il y a 10 ans mis à jour il y a 10 ans 0

Latest updates 1 418

+1

Soft Particals and Depth Blend don't work with ShaderFroge Shader.

Viktor Komarovskikh il y a 11 ans mis à jour par amir buganov il y a 7 ans 1
0
Pas un bug

How do we use Shaderforge to export a standalone shader for a Unity Project that DOESN'T include Shaderforge itself?

rosstin il y a 8 ans mis à jour par baroquedub il y a 7 ans 4
+1
Terminé

Two-sided sign node

zoltan erdokovy il y a 12 ans mis à jour par AntonioEffectsFX il y a 7 ans 11
+1

an undeclared identifier on GlCore (refraction input).

Jan Vetulani il y a 7 ans mis à jour il y a 7 ans 1
+4
À l'étude

node preview doesn't display in 2017.2 beta

hwaet il y a 8 ans mis à jour par Lux il y a 7 ans 7

Latest Fixes 667

0
Écarté

Bright Reflection Shader

Chris il y a 9 ans mis à jour par Freya Holmér (Developer) il y a 9 ans 1

Hello. I'm fairly new to Shader Forge and I'm trying to create a shader that reflects light very brightly. I'm trying to get it to look similar to how street signs or certain exercise clothing reflects headlights of a car at night; it looks pretty dim until the light shines directly on it and then is incredibly bright. Does anyone have an idea of how to do this? Thanks very much!

Solution

Usually you do that by making sure it's very glossy and is using reflection probes/cubemaps properly. Anyhow, I recommend asking in the forums, this place is for requesting features or reporting bugs!

0
Pas un bug

Flickering hue values

André il y a 9 ans mis à jour par Freya Holmér (Developer) il y a 9 ans 3

Hi! I don't know if this is the right place to ask for help, but I'll try. I have made a shader that randomizes the hue value on objects based on their position. But when I move or rotate the view in the editor or the camera in the game view some parts of the models flicker in different hues. Attaching a picture of node setup.


Thanks in advance!

Image 661

Solution

This is likely just due to batching, which can be disabled in the shader settings

+1
Corrigé

Using matrix4x4 in custom code does not put float4x4 in the shader function

Matthew Brong il y a 10 ans mis à jour par Freya Holmér (Developer) il y a 9 ans 5

If the matrix4x4 is used in a custom code node the incorrect type is inserted into the shader. This causes a compiler error.

Solution

This has now been fixed in 1.27

0
Terminé

Shadow Blending

The Vision il y a 11 ans mis à jour par Mordak last one il y a 9 ans 14
Hi Dear Joachim ,
This Idea is very important , If you can do it ... You'll have a big solved problem in CG Graphic .
This thing is in Unreal Engine 3 and 4 ... And Best Game I can use for example is REMEMBER ME ! By Capcom ...
Please ... Check It ...

In UE3 and 4 we can bake a scene to light maps and in next we can Blend Dynamic Shadows With Static Shadows ... I'm working on it 1 year ... and I couldn't get any result !

UE3 told use Masking ... Please read Here.

Here's my test in Unreal Engine:
Image 225

Remember Me :

Image 226


And a very very very good blending ...


Have a idea ?
Solution
Neither is nagging.

To answer your question, this is possible when using dual lightmaps in deferred rendering in Unity: http://docs.unity3d.com/Documentation/Manual/Light...

Lightmapping in deferred is currently a bit broken, but this will be fixed in a coming update.
0
Terminé

Support GGX in shaderforge forward shader​

Wu Dingwei il y a 10 ans mis à jour par Freya Holmér (Developer) il y a 9 ans 3
Hello, I want to use the GGX effect, but shaderforge forward shader won't have this effect.
there is a code in UnityStandardConfig.cginc which is "#define UNITY_BRDF_GGX 0", if I change 0 to 1, and copy UnityStandardConfig.cginc, Standard.shader,
StandardSpecular.shader to project assets folder.
For forward rendering, standard shader will have GGX, shaderforge shader won't.
For deferred rendering, copy original Internal-DeferredShading.shader to project folder and set as custom deferred shader in graphic setting. Both standard shader and shaderforge deferred shader will have GGX effect. But shaderforge forward shader won't have GGX.
So is it possible support GGX in shaderforge forward shader?

You can read more about unity GGX in this thread
http://forum.unity3d.com/threads/using-ggx-instead-of-blinn-phong.323827/

Solution

This has now been fixed in 1.27