Hello!
After about 5 months of development, Shader Forge is finally ready to be released publicly
With Shader Forge, I wanted to bring AAA quality shading to Unity with massive amounts of flexibility and customization in an intuitive way - not just a rigid set/pack of shaders
One of the most anticipated tools is finally on the Asset Store! Good work Ace. Keep moving forward. Would love to see more tutorials, nodes etc in future updates
This is a bit tricky. Assuming you are content with a pretty close approximation, this should do for a camera fade:
It’s not 100%, because it’s assuming your screen is not flat, but radial. You can add a slight bias to it by adding a small value to the projection parameter near distance, if you experience some clipping issues near the edges of the screen
Is there a rule which value to use to decode the RGBM? Also i would like to know how to drive the Specular IBL Cubemap Mip with a glossmap, if that is possible. Thanks a lot for this awesome Tool !!
There is no rule for RGBM, there are different standards depending on how the cubemaps were saved in the first place!
Unity probably has one rule for their RGBM (I think it’s 4), Skyshop probably has their own value. It may not even be linear, so this is just an approximation from me
If you want to control glossiness, connect a value, such as your glossiness value, into MIP and multiply it by something around 5-8, and you should get MIP control with the glossiness!
Hmm, ok then, thank you! I was hoping for something more accurate - my current shader works basically as you described, and I get issues near the edge of the screen. I’ll give the bias a shot. Or maybe if I use the view angle and some trigonometry… Is it possible to get view angle? Something about projection matricies? Shaders make my brain hurt sometimes.
It is quite dark, because it’s doing energy conservation calcs. You’ll need stronger lights in your scene or, like you said, multiply the diffuse by some value
By default, the Unity directional lights have an intensity of 0.5, I recommend setting it to 1
Yeah that’s because you’re connecting a loop (infinite loop), I haven’t added a loop detection yet! Ideally you shouldn’t be able to make the connection in the first place
The 0.18 update is soon out! It’s not a very big update, but it fixes an issue where some properties didn’t show up.
I’m also adding two new nodes; Vector Projection and Vector Rejection
What do these nodes do? also as I’ve said in the other thread numerious times this tool is really awesome and Acegikmo is very good at answering questions if you get stuck. I’d highly reccomend it!