0
Not a bug

Depth Blend Problem

Dale Ward 11 years ago updated by Freya Holmér (Developer) 11 years ago 0
Hey Joachim. Thanks for making an awesome plugin. I'm having a slight issue however :(

I cant get shaders made in Shaderforge to work with DepthBlend shaders. The DepthBlend cloud shader I made in Shaderforge works great, with anything NOT made in Shaderforge. Any Unity made shader or anything I've made in Strumpy affects the alpha as it should, but I cant get any shader made in Shaderforge, not even your examples, to work with it and I've tried almost every setting imaginable. 

Scene view image
Left- Unity sphere with a Unity supplied Diffuse shader.
Right - Duplicate of the Unity sphere with a basic Shaderforge shader ( colour into diffuse - no changes to settings).

Image 173

Scene view/game view - playing/not playing - doesn't matter.

Am I missing something super obvious?

Cheers
Dale
Is the SF shader set to Off or Alpha Blended, in the blending settings?
Are you using deferred or forward rendering? (Check both the camera and the player settings)
I'm using Deferred rendering.
The SF shader on the sphere is set to off. 



The DepthBlend shader (clouds) is Alpha Blended
SF doesn't support deferred rendering at the moment. How does it look when switching to forward, and enabling depth in your camera?
Well, not supporting Deferred would probably explain that and some of the other issues I'm having. Sorry, must have missed that. In deferred it works great with all my other shaders. In forward, not so much. That's cool, I can wait for support or implement some work around's. Hopefully you get a chance to add it before we ship :) Thanks for the speedy replies.
I wouldn't wait for it to come, it's a huge topic that would most likely take a long time to make as well!
That said, things may change, we'll see :)

Closing this topic now!