Change material's opacity with camera angel

As the title says, I want to change the material’s opacity with camera angel. Do you guys have any example to share here or how to achieve this?

Could you explain with more details what do you mean by “camera angle”? Is it Field of View (camera.fov) or another parameters?

Okay, I drew it here https://i.imgur.com/R0cIE6Q.png. I’m using an ArcRotateCamera.

Sounds like a fresnel effect. But in case you just want to link your angel height :ghost: to the material opacity, just use the beta value.

Hi @Paz2012 and welcome to the forum. Please don’t think I am mocking you but a camera angel is such a lovely thought

2 Likes

It flies through the opacity of the material soul :smile:

1 Like

Here is the quick draft of what you may want to achieve:
https://playground.babylonjs.com/#HZP1ZR#1

Here is more correct example (angel included).
https://www.babylonjs-playground.com/#19JGPR#59

2 Likes