The reason I changed it from a box to a value is that it's a lot of space for very little information, especially when the values are outside the 0-1 range, which is often the case with Vector 1 specifically. I tried making a bunch of shaders, and noticed lots of pure white boxes, providing very little information as for…
There should be a way of doing that. it has been executed by this guy for example https://www.youtube.com/watch?v=-Q6ISVaM5Ww Check time index 3:54. You see he writes height map information to the depth buffer to let the 2D sprites intersect in 3D space. From what I understood from my short conversation with him he renders…
Acegikmo, I've been beasting making awesome materials thanks to this. Any chance of implementing an outline shader for toon style edges? Is there a way to do this with some vert offset trickery? edit: Also, I'd like to combo the awesomeness of Shaderforge with some other FX I'm using. Is there any way to add properties…
Sorry for the lack of updates these last few days! I've been dealing with the underlying code, primarily to ensure stability. For example; when you press play or recompile the scripts in Unity, it does an assembly reload. What that means, is that all the data is lost in editor panels (Like Shader Forge), unless the data is…
Hi Guys, I am new to shaders in general. I have two questions: 1. Can I pass some data like for example Vector3 (touch point) to shader and use it in the shader every frame? I would like to achieve an interactive vertex animation based on touch data. 2. This one in related to the first one. I would like to pass a Vector3…
I said last time that 0.15 would be the last version before public release, but I changed my mind, due to having done some major changes in the system. 0.16 should be the last version, for real this time! It's also out now! Here's the changelog for Shader Forge Beta 0.16: • New Main input: Custom Lighting (Run per-light…
Let's use your grayscale example for now: what you want is to find texels which are the same as your input value or in other words they differ by 0. This means that your first step is subtracting the texture from the input value and taking the absolute value of the result: where that is 0 there you have your target.…
Hi! First of all - I am a complete newbie in shaders, but I work with Unity3d for a long time. I've found Shader Forge and it looks like something that might help me, but I'd like to be sure before purchasing. Maybe someone can tell me if (and how - more or less) can I create a shader that resolves my problem. So: I have a…
Bloody amazing job mate! Do you mind telling if we would be able to have access to the Light Vector node? From what I gathered, Unity, due to it's renderer issues with the old Strumpy Editor couldn't 'allow' the Light Code to be exposed, and had to be written manually by hand if you wanted it, will this editor have the…
Thanks! :D There's no difference between what features Shader Forge will provide in Unity Free vs Unity Pro, apart from the fast that Render Textures are disabled in Unity Free. Shader Forge will generate *one* file for each shader, which is the actual shader file :) I've planned to store all the node data as comments in…