how to change blending reflection?

If you are a new Irrlicht Engine user, and have a newbie-question, this is the forum for you. You may also post general programming questions here.
Post Reply
Noiecity
Posts: 134
Joined: Wed Aug 23, 2023 7:22 pm
Contact:

how to change blending reflection?

Post by Noiecity »

Is there any way to change the alpha percentage applied when blending the reflection texture with the original texture with EMT_REFLECTION_2_LAYER? thanks

Image
**
If you are looking for people with whom to develop your game, even to try functionalities, I can help you, free and in an anonymous way if necessary. You can send me a private message.

https://www.artstation.com/noiecty
**
CuteAlien
Admin
Posts: 9687
Joined: Mon Mar 06, 2006 2:25 pm
Location: Tübingen, Germany
Contact:

Re: how to change blending reflection?

Post by CuteAlien »

From what I see you can't . It simply multiplies the 2 involved textures, so you can only modify the textures for that one (I guess with reduced contrast in the reflection textures it would reflect less?). For advanced effects you have no choice but write your own shaders.
IRC: #irrlicht on irc.libera.chat
Code snippet repository: https://github.com/mzeilfelder/irr-playground-micha
Free racer made with Irrlicht: http://www.irrgheist.com/hcraftsource.htm
Noiecity
Posts: 134
Joined: Wed Aug 23, 2023 7:22 pm
Contact:

Re: how to change blending reflection?

Post by Noiecity »

CuteAlien wrote: Sat May 25, 2024 9:38 pm From what I see you can't . It simply multiplies the 2 involved textures, so you can only modify the textures for that one (I guess with reduced contrast in the reflection textures it would reflect less?). For advanced effects you have no choice but write your own shaders.
lol, it literally went down when I lowered the contrast and upgrade the lightness, how did you know that?
Edit: Oh right, you said multiply it, that makes sense, thanks

I want to use shaders, but I want to understand all the features irrlicht has first
**
If you are looking for people with whom to develop your game, even to try functionalities, I can help you, free and in an anonymous way if necessary. You can send me a private message.

https://www.artstation.com/noiecty
**
Post Reply