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
Under review

Unpack Normal Node

cg magic fa 12 anys updated by Alon Tako fa 10 anys 8
+1

Value Node Limit

Deo fa 11 anys 0
+1
Under review

Strumpy Shader Editor style overlay when panning around would be wicked

marko permanto fa 12 anys updated by Freya Holmér (Developer) fa 12 anys 0
+1

_Projector built-in matrix

Drew Burden fa 10 anys actualitzat fa 10 anys 0

Latest updates 1.418

+1

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

Viktor Komarovskikh fa 11 anys updated by amir buganov fa 7 anys 1
+1
Completat

Two-sided sign node

zoltan erdokovy fa 12 anys updated by AntonioEffectsFX fa 7 anys 11
+1

an undeclared identifier on GlCore (refraction input).

Jan Vetulani fa 7 anys actualitzat fa 7 anys 1
+4
Under review

node preview doesn't display in 2017.2 beta

hwaet fa 8 anys updated by Lux fa 7 anys 7

Latest Fixes 667

0
Declined

Bright Reflection Shader

Chris fa 9 anys updated by Freya Holmér (Developer) fa 9 anys 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!

Answer

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
Not a bug

Flickering hue values

André fa 9 anys updated by Freya Holmér (Developer) fa 9 anys 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

Answer

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

+1
Fixed

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

Matthew Brong fa 10 anys updated by Freya Holmér (Developer) fa 9 anys 5

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

Answer

This has now been fixed in 1.27

0
Completat

Shadow Blending

The Vision fa 11 anys updated by Mordak last one fa 9 anys 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 ?
Answer
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
Completat

Support GGX in shaderforge forward shader​

Wu Dingwei fa 10 anys updated by Freya Holmér (Developer) fa 9 anys 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/

Answer

This has now been fixed in 1.27