Ambiera Forum

Discussions, Help and Support.

Ambiera Forum > CopperCube > Help with CopperCube
Transparent objects changing color at certain viewing angles

Jimmy
Guest
Quote
2021-11-12 16:23:52

Hello,

I am having an issue where transparent objects are completely changing color based on the camera's position. Here is a short video showing what I am talking about: https://streamable.com/q4f2en

The example grass blades are set up as vertical billboards as Dynamic Lighting, material type Transparent Alpha with double sided, plant rendering and moved by wind.

I have tried checking anti-aliasing on/off an it makes no difference. I have also tried it as planes and as cube meshes, but it makes no difference. It appears that, maybe, unchecking "Moved by wind" fixes it, but that's absolutely a necessary feature for adding life to the game. This issue isn't exactly easy to replicate so I am not 100% sure about that.

Does anyone know what is causing this and if there is any way to fix it while keeping "Moved by wind" enabled?


Guest
Guest
Quote
2021-11-12 18:32:47

I believe the problem is that your grass is just one single color, and this is going to make the dynamic lighting even more noticeable. I created a vertical billboard as you did, but I used the default grass, and the color shift is much less noticeable. You could try making the grass out of smaller blades of grass with some space between them, and instead of using a single color, you could use a gradient. I don't believe "Moved by wind" has anything to do with it, but I could be mistaken.


Jimmy
Guest
Quote
2021-11-12 18:47:57

Thanks for checking it out! I should have mentioned this in the OP, but it happens with None and Static lighting as well. Actually, in my tests Dynamic reduces the likeliness of it happening the most.

Interesting theory about it being that my texture is only one color. I will for sure look into that more.


VP
Guest
Quote
2021-11-13 00:48:58

I've had the same issue in the past with textures that were "affected by wind" I did manage to fix it. Things kept turning purple. I'll try and find the post again and link it here. I think I just added a dynamic light to the scene but I can't remember exactly. Just out of interest, try adding a dynamic light and try running coppercube as Admin to see if that fixes it. I'll search the forum and see if we ever found a solution here.


VP
Guest
Quote
2021-11-30 12:01:09

https://www.ambiera.com/forum.ph...


VP
Guest
Quote
2023-09-25 23:14:10

Just found the solution - in irrlicht settings, disable "Bilinear Filter 1", enable "Trilinear Filter 1" instead. Colours still look weird in the editor but will be fixed when you run the game.


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