Ambiera Forum

Discussions, Help and Support.

Ambiera Forum > CopperCube > Announcements and Showcase
Screen Shaders Extension

VP
Guest
Quote
2023-11-27 13:05:28

🔎︎



just_in_case
Moderator
Quote
2023-11-27 13:29:44

@VP, you need to turn on double-sided materials for the plane mesh, which is a child of the FPS camera. Sometime the planemesh is flipped in wrong direction, if you don't want to turn on double sided materials then you can also flip direction of all faces of the planemesh.


VP
Guest
Quote
2023-11-27 13:37:26

Thank you.


VP
Guest
Quote
2023-11-27 13:47:17

I'll have a play around with it to see if I can get it working.


VP
Guest
Quote
2023-11-27 13:54:53

Doh - it was a simple error with a simple fix....
I forgot that the default 2D scene is x-forward whereas the default 3D camera is z-forward.

Here are the shader plane-mesh settings to get it to work with your 2D camera script...

🔎︎



just_in_case
Moderator
Quote
2023-11-29 12:46:18

Great, thanks for sharing the Planemesh Properties for 2D controller. Glad that it's working finally for you.


laguniboy
Registered User
Quote
2023-12-26 14:10:25

@just_in_case

After testing the screen shader it works correctly, but won't display when restarting a scene neither on reload when checked. Is there a solution around this?


Guest
Guest
Quote
2023-12-26 17:35:03

I found that you need to use the behavior Before first drawing do something and then add an action execute javascript action inside the textbox, and put this line of code.

 JIC_VIDEO_Shader = false; 


This will fix the issue of restarting the scene or changing the scene. Need to add this code in every scene.

Just make sure that the Also on Reload checkbox is checked.

I wish JIC would add a better workaround to this but the solution and the extension work great, thanks to him for this.


laguniboy
Registered User
Quote
2023-12-26 18:42:41

@Guest
Yes, that works! Thanks!


Create reply:


Posted by: (you are not logged in)


Enter the missing letter in: "Internation?l" (you are not logged in)


Text:

 

  

Possible Codes


Feature Code
Link [url] www.example.com [/url]
Bold [b]bold text[/b]
Image [img]http://www.example.com/image.jpg[/img]
Quote [quote]quoted text[/quote]
Code [code]source code[/code]

Emoticons


   






Copyright© Ambiera e.U. all rights reserved.
Privacy Policy | Terms and Conditions | Imprint | Contact