Open Rombersoft opened 5 years ago
Hi,
I think you can remove 'crt.fx' from the content, it is not used anymore.
because of the error in 'penumbra_shadow.fx': I can't see the output completely because it's an image... can you copy the text completely?
Normally the error code and the corresponding line are displayed. Maybe it is the call to 'clip' in the pixelshader which is not available in GLSL.
Try in line 77:
if (pin.ClipValue < 0 )
discard;
clip(pin.ClipValue);
Best regards Sascha
Am Fr., 14. Dez. 2018 um 16:49 Uhr schrieb Josik Dranyj < notifications@github.com>:
Hello Sascha. I try to use your project on Linux. I want to build it but get error
/media/destructor/Documents/Projects/Secondary/monogame-mojo/Example/Content/Effects/crt.fx: Error: Processor 'EffectProcessor' had unexpected failure! (Example)
Then I opened Content.mgcb using monogame-pipeline-tool and tried to rebuild it and got next error:
[image: mojo] https://user-images.githubusercontent.com/19586466/50012893-808bfc80-ffc8-11e8-9e0a-e43632b1a9a7.jpg
Can you help me?
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/sascha-schmidt217/monogame-mojo/issues/1, or mute the thread https://github.com/notifications/unsubscribe-auth/ADDYXuNEcy1bpddipj8UorhZHU7DvmXQks5u48htgaJpZM4ZTw0R .
I've done so: float4 PS(VertexOut pin) : SV_TARGET { // If clipvalue < 0, don't shadow. We are clipping shadows cast from edges which normals are pointing // towards the light.
if (pin.ClipValue < 0 )
discard;
clip(pin.ClipValue);
float2 p = clamp(pin.Penumbra.xz / pin.Penumbra.yw, -1.0, 1.0);
float2 value = lerp(p*(3.0 - p*p)*0.25 + 0.5, 1.0,
step(pin.Penumbra.yw, 0.0)); // Step penumbra.yw < 0: 1; otherwise 0. float occlusion = value.x + value.y - 1.0; return fl
But error is stayed
пт, 14 груд. 2018 о 18:37 sascha-schmidt217 notifications@github.com пише:
Hi,
I think you can remove 'crt.fx' from the content, it is not used anymore.
because of the error in 'penumbra_shadow.fx': I can't see the output completely because it's an image... can you copy the text completely?
Normally the error code and the corresponding line are displayed. Maybe it is the call to 'clip' in the pixelshader which is not available in GLSL.
Try in line 77:
if OPENGL
if (pin.ClipValue < 0 ) discard;
else
clip(pin.ClipValue);
endif
Best regards Sascha
Am Fr., 14. Dez. 2018 um 16:49 Uhr schrieb Josik Dranyj < notifications@github.com>:
Hello Sascha. I try to use your project on Linux. I want to build it but get error
/media/destructor/Documents/Projects/Secondary/monogame-mojo/Example/Content/Effects/crt.fx: Error: Processor 'EffectProcessor' had unexpected failure! (Example)
Then I opened Content.mgcb using monogame-pipeline-tool and tried to rebuild it and got next error:
[image: mojo] < https://user-images.githubusercontent.com/19586466/50012893-808bfc80-ffc8-11e8-9e0a-e43632b1a9a7.jpg
Can you help me?
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/sascha-schmidt217/monogame-mojo/issues/1, or mute the thread < https://github.com/notifications/unsubscribe-auth/ADDYXuNEcy1bpddipj8UorhZHU7DvmXQks5u48htgaJpZM4ZTw0R
.
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/sascha-schmidt217/monogame-mojo/issues/1#issuecomment-447379976, or mute the thread https://github.com/notifications/unsubscribe-auth/ASrdon4H4tUXUJujRzzP6P7-oxXDQPy7ks5u49PPgaJpZM4ZTw0R .
-- Glory to Ukraine
Hello Sascha. I try to use your project on Linux. I want to build it but get error
/media/destructor/Documents/Projects/Secondary/monogame-mojo/Example/Content/Effects/crt.fx: Error: Processor 'EffectProcessor' had unexpected failure! (Example)
Then I opened Content.mgcb using monogame-pipeline-tool and tried to rebuild it and got next error:
Can you help me?