Question by
Ricky_Hammett · Sep 28, 2018 at 06:05 AM ·
c#unity 5shaderscript.
Hidden Post Fx Shader Not Working in Unity 5!
Hi guys , I have a problem with this shader please help me!! , I have Unity 2018 1.1 , the shaders is Hidden Post Fx Ambient Occlusion, I am new in this of the shaders and I do not understand much what is happening I hope you can help me thanks in advance, here is the code:
Properties {
}
Subshader {
Pass {
ZTest Always
ZWrite Off
Cull Off
GpuProgramID 42687
Program "vp" {
SubProgram "d3d11 hw_tier00 " {
Keywords { "FOG_OFF" }
"!!DX11VertexSM40
/*Can't export program data DX11VertexSM40 as a text*/"
}
SubProgram "d3d11 hw_tier01 " {
Keywords { "FOG_OFF" }
"!!DX11VertexSM40
/*Can't export program data DX11VertexSM40 as a text*/"
}
SubProgram "d3d11 hw_tier02 " {
Keywords { "FOG_OFF" }
"!!DX11VertexSM40
/*Can't export program data DX11VertexSM40 as a text*/"
}
SubProgram "d3d11 hw_tier00 " {
Keywords { "FOG_EXP" }
"!!DX11VertexSM40
/*Can't export program data DX11VertexSM40 as a text*/"
}
SubProgram "d3d11 hw_tier01 " {
Keywords { "FOG_EXP" }
"!!DX11VertexSM40
/*Can't export program data DX11VertexSM40 as a text*/"
}
SubProgram "d3d11 hw_tier02 " {
Keywords { "FOG_EXP" }
"!!DX11VertexSM40
/*Can't export program data DX11VertexSM40 as a text*/"
}
}
Program "fp" {
SubProgram "d3d11 hw_tier00 " {
Keywords { "FOG_OFF" }
"!!DX11PixelSM40
/*Can't export program data DX11PixelSM40 as a text*/"
}
SubProgram "d3d11 hw_tier01 " {
Keywords { "FOG_OFF" }
"!!DX11PixelSM40
/*Can't export program data DX11PixelSM40 as a text*/"
}
SubProgram "d3d11 hw_tier02 " {
Keywords { "FOG_OFF" }
"!!DX11PixelSM40
/*Can't export program data DX11PixelSM40 as a text*/"
}
SubProgram "d3d11 hw_tier00 " {
Keywords { "FOG_EXP" }
"!!DX11PixelSM40
/*Can't export program data DX11PixelSM40 as a text*/"
}
SubProgram "d3d11 hw_tier01 " {
Keywords { "FOG_EXP" }
"!!DX11PixelSM40
/*Can't export program data DX11PixelSM40 as a text*/"
}
SubProgram "d3d11 hw_tier02 " {
Keywords { "FOG_EXP" }
"!!DX11PixelSM40
/*Can't export program data DX11PixelSM40 as a text*/"
}
}
}
Pass {
ZTest Always
ZWrite Off
Cull Off
GpuProgramID 119428
Program "vp" {
SubProgram "d3d11 hw_tier00 " {
Keywords { "FOG_OFF" }
"!!DX11VertexSM40
/*Can't export program data DX11VertexSM40 as a text*/"
}
SubProgram "d3d11 hw_tier01 " {
Keywords { "FOG_OFF" }
"!!DX11VertexSM40
/*Can't export program data DX11VertexSM40 as a text*/"
}
SubProgram "d3d11 hw_tier02 " {
Keywords { "FOG_OFF" }
"!!DX11VertexSM40
/*Can't export program data DX11VertexSM40 as a text*/"
}
SubProgram "d3d11 hw_tier00 " {
Keywords { "FOG_EXP" }
"!!DX11VertexSM40
/*Can't export program data DX11VertexSM40 as a text*/"
}
SubProgram "d3d11 hw_tier01 " {
Keywords { "FOG_EXP" }
"!!DX11VertexSM40
/*Can't export program data DX11VertexSM40 as a text*/"
}
SubProgram "d3d11 hw_tier02 " {
Keywords { "FOG_EXP" }
"!!DX11VertexSM40
/*Can't export program data DX11VertexSM40 as a text*/"
}
}
Program "fp" {
SubProgram "d3d11 hw_tier00 " {
Keywords { "FOG_OFF" }
"!!DX11PixelSM40
/*Can't export program data DX11PixelSM40 as a text*/"
}
SubProgram "d3d11 hw_tier01 " {
Keywords { "FOG_OFF" }
"!!DX11PixelSM40
/*Can't export program data DX11PixelSM40 as a text*/"
}
SubProgram "d3d11 hw_tier02 " {
Keywords { "FOG_OFF" }
"!!DX11PixelSM40
/*Can't export program data DX11PixelSM40 as a text*/"
}
SubProgram "d3d11 hw_tier00 " {
Keywords { "FOG_EXP" }
"!!DX11PixelSM40
/*Can't export program data DX11PixelSM40 as a text*/"
}
SubProgram "d3d11 hw_tier01 " {
Keywords { "FOG_EXP" }
"!!DX11PixelSM40
/*Can't export program data DX11PixelSM40 as a text*/"
}
SubProgram "d3d11 hw_tier02 " {
Keywords { "FOG_EXP" }
"!!DX11PixelSM40
/*Can't export program data DX11PixelSM40 as a text*/"
}
}
}
Pass {
ZTest Always
ZWrite Off
Cull Off
GpuProgramID 144042
Program "vp" {
SubProgram "d3d11 hw_tier00 " {
Keywords { "FOG_OFF" }
"!!DX11VertexSM40
/*Can't export program data DX11VertexSM40 as a text*/"
}
SubProgram "d3d11 hw_tier01 " {
Keywords { "FOG_OFF" }
"!!DX11VertexSM40
/*Can't export program data DX11VertexSM40 as a text*/"
}
SubProgram "d3d11 hw_tier02 " {
Keywords { "FOG_OFF" }
"!!DX11VertexSM40
/*Can't export program data DX11VertexSM40 as a text*/"
}
SubProgram "d3d11 hw_tier00 " {
Keywords { "FOG_EXP" }
"!!DX11VertexSM40
/*Can't export program data DX11VertexSM40 as a text*/"
}
SubProgram "d3d11 hw_tier01 " {
Keywords { "FOG_EXP" }
"!!DX11VertexSM40
/*Can't export program data DX11VertexSM40 as a text*/"
}
SubProgram "d3d11 hw_tier02 " {
Keywords { "FOG_EXP" }
"!!DX11VertexSM40
/*Can't export program data DX11VertexSM40 as a text*/"
}
}
Program "fp" {
SubProgram "d3d11 hw_tier00 " {
Keywords { "FOG_OFF" }
"!!DX11PixelSM40
/*Can't export program data DX11PixelSM40 as a text*/"
}
SubProgram "d3d11 hw_tier01 " {
Keywords { "FOG_OFF" }
"!!DX11PixelSM40
/*Can't export program data DX11PixelSM40 as a text*/"
}
SubProgram "d3d11 hw_tier02 " {
Keywords { "FOG_OFF" }
"!!DX11PixelSM40
/*Can't export program data DX11PixelSM40 as a text*/"
}
SubProgram "d3d11 hw_tier00 " {
Keywords { "FOG_EXP" }
"!!DX11PixelSM40
/*Can't export program data DX11PixelSM40 as a text*/"
}
SubProgram "d3d11 hw_tier01 " {
Keywords { "FOG_EXP" }
"!!DX11PixelSM40
/*Can't export program data DX11PixelSM40 as a text*/"
}
SubProgram "d3d11 hw_tier02 " {
Keywords { "FOG_EXP" }
"!!DX11PixelSM40
/*Can't export program data DX11PixelSM40 as a text*/"
}
}
}
Pass {
ZTest Always
ZWrite Off
Cull Off
GpuProgramID 208581
Program "vp" {
SubProgram "d3d11 hw_tier00 " {
"!!DX11VertexSM40
/*Can't export program data DX11VertexSM40 as a text*/"
}
SubProgram "d3d11 hw_tier01 " {
"!!DX11VertexSM40
/*Can't export program data DX11VertexSM40 as a text*/"
}
SubProgram "d3d11 hw_tier02 " {
"!!DX11VertexSM40
/*Can't export program data DX11VertexSM40 as a text*/"
}
}
Program "fp" {
SubProgram "d3d11 hw_tier00 " {
"!!DX11PixelSM40
/*Can't export program data DX11PixelSM40 as a text*/"
}
SubProgram "d3d11 hw_tier01 " {
"!!DX11PixelSM40
/*Can't export program data DX11PixelSM40 as a text*/"
}
SubProgram "d3d11 hw_tier02 " {
"!!DX11PixelSM40
/*Can't export program data DX11PixelSM40 as a text*/"
}
}
}
Pass {
ZTest Always
ZWrite Off
Cull Off
GpuProgramID 315773
Program "vp" {
SubProgram "d3d11 hw_tier00 " {
"!!DX11VertexSM40
/*Can't export program data DX11VertexSM40 as a text*/"
}
SubProgram "d3d11 hw_tier01 " {
"!!DX11VertexSM40
/*Can't export program data DX11VertexSM40 as a text*/"
}
SubProgram "d3d11 hw_tier02 " {
"!!DX11VertexSM40
/*Can't export program data DX11VertexSM40 as a text*/"
}
}
Program "fp" {
SubProgram "d3d11 hw_tier00 " {
"!!DX11PixelSM40
/*Can't export program data DX11PixelSM40 as a text*/"
}
SubProgram "d3d11 hw_tier01 " {
"!!DX11PixelSM40
/*Can't export program data DX11PixelSM40 as a text*/"
}
SubProgram "d3d11 hw_tier02 " {
"!!DX11PixelSM40
/*Can't export program data DX11PixelSM40 as a text*/"
}
}
}
Pass {
ZTest Always
ZWrite Off
Cull Off
GpuProgramID 331526
Program "vp" {
SubProgram "d3d11 hw_tier00 " {
"!!DX11VertexSM40
/*Can't export program data DX11VertexSM40 as a text*/"
}
SubProgram "d3d11 hw_tier01 " {
"!!DX11VertexSM40
/*Can't export program data DX11VertexSM40 as a text*/"
}
SubProgram "d3d11 hw_tier02 " {
"!!DX11VertexSM40
/*Can't export program data DX11VertexSM40 as a text*/"
}
}
Program "fp" {
SubProgram "d3d11 hw_tier00 " {
"!!DX11PixelSM40
/*Can't export program data DX11PixelSM40 as a text*/"
}
SubProgram "d3d11 hw_tier01 " {
"!!DX11PixelSM40
/*Can't export program data DX11PixelSM40 as a text*/"
}
SubProgram "d3d11 hw_tier02 " {
"!!DX11PixelSM40
/*Can't export program data DX11PixelSM40 as a text*/"
}
}
}
Pass {
ZTest Always
ZWrite Off
Cull Off
GpuProgramID 441715
Program "vp" {
SubProgram "d3d11 hw_tier00 " {
"!!DX11VertexSM40
/*Can't export program data DX11VertexSM40 as a text*/"
}
SubProgram "d3d11 hw_tier01 " {
"!!DX11VertexSM40
/*Can't export program data DX11VertexSM40 as a text*/"
}
SubProgram "d3d11 hw_tier02 " {
"!!DX11VertexSM40
/*Can't export program data DX11VertexSM40 as a text*/"
}
}
Program "fp" {
SubProgram "d3d11 hw_tier00 " {
"!!DX11PixelSM40
/*Can't export program data DX11PixelSM40 as a text*/"
}
SubProgram "d3d11 hw_tier01 " {
"!!DX11PixelSM40
/*Can't export program data DX11PixelSM40 as a text*/"
}
SubProgram "d3d11 hw_tier02 " {
"!!DX11PixelSM40
/*Can't export program data DX11PixelSM40 as a text*/"
}
}
}
Pass {
Blend Zero OneMinusSrcColor, Zero OneMinusSrcAlpha
ZTest Always
ZWrite Off
Cull Off
GpuProgramID 497636
Program "vp" {
SubProgram "d3d11 hw_tier00 " {
"!!DX11VertexSM40
/*Can't export program data DX11VertexSM40 as a text*/"
}
SubProgram "d3d11 hw_tier01 " {
"!!DX11VertexSM40
/*Can't export program data DX11VertexSM40 as a text*/"
}
SubProgram "d3d11 hw_tier02 " {
"!!DX11VertexSM40
/*Can't export program data DX11VertexSM40 as a text*/"
}
}
Program "fp" {
SubProgram "d3d11 hw_tier00 " {
"!!DX11PixelSM40
/*Can't export program data DX11PixelSM40 as a text*/"
}
SubProgram "d3d11 hw_tier01 " {
"!!DX11PixelSM40
/*Can't export program data DX11PixelSM40 as a text*/"
}
SubProgram "d3d11 hw_tier02 " {
"!!DX11PixelSM40
/*Can't export program data DX11PixelSM40 as a text*/"
}
}
}
Pass {
ZTest Always
ZWrite Off
Cull Off
GpuProgramID 550011
Program "vp" {
SubProgram "d3d11 hw_tier00 " {
"!!DX11VertexSM40
/*Can't export program data DX11VertexSM40 as a text*/"
}
SubProgram "d3d11 hw_tier01 " {
"!!DX11VertexSM40
/*Can't export program data DX11VertexSM40 as a text*/"
}
SubProgram "d3d11 hw_tier02 " {
"!!DX11VertexSM40
/*Can't export program data DX11VertexSM40 as a text*/"
}
}
Program "fp" {
SubProgram "d3d11 hw_tier00 " {
"!!DX11PixelSM40
/*Can't export program data DX11PixelSM40 as a text*/"
}
SubProgram "d3d11 hw_tier01 " {
"!!DX11PixelSM40
/*Can't export program data DX11PixelSM40 as a text*/"
}
SubProgram "d3d11 hw_tier02 " {
"!!DX11PixelSM40
/*Can't export program data DX11PixelSM40 as a text*/"
}
}
}
}
}
Comment
Your answer
Follow this Question
Related Questions
Texture overlay in sphere? 0 Answers
how to make mathf.pingpong not from 0 3 Answers
Basic Code Problem 1 Answer