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

Add Vector2 input into the "Scene" nodes (Color, Blend, Depth Blend) to offset the screen UVs for sampling these textures

Jonny Lerner vor 11 Jahren aktualisiert vor 11 Jahren 1
+1
Wird überprüft

Unpack Normal Node

cg magic vor 12 Jahren aktualisiert von Alon Tako vor 10 Jahren 8
+1

Value Node Limit

Deo vor 11 Jahren 0
+1
Wird überprüft

Strumpy Shader Editor style overlay when panning around would be wicked

marko permanto vor 12 Jahren aktualisiert von Freya Holmér (Developer) vor 12 Jahren 0
+1

_Projector built-in matrix

Drew Burden vor 10 Jahren aktualisiert vor 10 Jahren 0

Latest updates 1.418

+1

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

Viktor Komarovskikh vor 11 Jahren aktualisiert von amir buganov vor 7 Jahren 1
0
Not a bug

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

rosstin vor 8 Jahren aktualisiert von baroquedub vor 7 Jahren 4
+1
Fertiggestellt

Two-sided sign node

zoltan erdokovy vor 12 Jahren aktualisiert von AntonioEffectsFX vor 7 Jahren 11
+1

an undeclared identifier on GlCore (refraction input).

Jan Vetulani vor 7 Jahren aktualisiert vor 7 Jahren 1
+4
Wird überprüft

node preview doesn't display in 2017.2 beta

hwaet vor 8 Jahren aktualisiert von Lux vor 7 Jahren 7

Latest Fixes 667

0
Abgelehnt

Bright Reflection Shader

Chris vor 9 Jahren aktualisiert von Freya Holmér (Developer) vor 9 Jahren 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!

Antwort

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é vor 9 Jahren aktualisiert von Freya Holmér (Developer) vor 9 Jahren 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

Antwort

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 vor 10 Jahren aktualisiert von Freya Holmér (Developer) vor 9 Jahren 5

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

Antwort

This has now been fixed in 1.27

0
Fertiggestellt

Shadow Blending

The Vision vor 11 Jahren aktualisiert von Mordak last one vor 9 Jahren 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 ?
Antwort
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
Fertiggestellt

Support GGX in shaderforge forward shader​

Wu Dingwei vor 10 Jahren aktualisiert von Freya Holmér (Developer) vor 9 Jahren 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/

Antwort

This has now been fixed in 1.27