Ambiera ForumDiscussions, Help and Support. |
|
|
|||||
|
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? |
||||
|
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. |
||||
|
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. |
||||
|
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. |
||||
|
https://www.ambiera.com/forum.ph... |
||||
|
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. |
|