- Home /
Pro Glow showing through GUI layer
I posted this in the support area but got no answers so I apologise for double posting, but I think the question is better asked here and I can't delete the old thread. My problem is:-
I have a 3d object behind some GUI 2d graphics. I've added the Pro glow effect to the camera and any part of the 3d object with it's alpha on glows just like it should. Problem is the glow comes through the GUI stuff on top and I want it to be blocked by the 2d graphics on top.
Any ideas guys? Here is the GUI shader that lets the glow show through.....
[CODE]Shader "Unlit/Transparent Colored" { Properties { _MainTex ("Base (RGB), Alpha (A)", 2D) = "white" {} }
 SubShader
 {
     LOD 100
     Tags
     {
         "Queue" = "Transparent"
         "IgnoreProjector" = "True"
         "RenderType" = "Transparent"
     }
     
     Pass
     {
         Cull Off
         Lighting Off
         ZWrite Off
         Fog { Mode Off }
         Offset -1, -1
         ColorMask RGB
         AlphaTest Greater .01
         Blend SrcAlpha OneMinusSrcAlpha
         ColorMaterial AmbientAndDiffuse
         
         SetTexture [_MainTex]
         {
             Combine Texture * Primary
         }
     }
 }
}[/CODE]
Your answer
 
 
             Follow this Question
Related Questions
Write a Shader for GUI (GUITexture or scripted GUI) 0 Answers
Glow effect - alpha channel ignored to some specific android device 0 Answers
I am having issues with my textmesh shader 0 Answers
IOS Glow shader? 1 Answer
Lowering the cost of GUI 1 Answer
 koobas.hobune.stream
koobas.hobune.stream 
                       
                
                       
			     
			 
                