The only problem is the manual positioning, but its a good alternative if you have a lot of reflections and dont want them to be real time, yet still look good. Thanks for sharing this.
Hello, forgive my lack of knowledge (and my English), but I can not build this stuff, because I do not know how to get the following "return max (x, y). Could you help me?
Olá, perdoe minha falta de conhecimento, (e meu ingles), mas não estou conseguindo montar esse material, pois não sei como obter o seguinte "return max(x,y). Poderia me ajudar?
Hi, these are custom HLSL nodes: http://udn.epicgames.com/Three/MaterialsCompendium.html#Custom "return max(x,y);" and "return min(min(x,y,z));"is the actual line of code.
It'm completely lost Would greatly appreciate if you can send me the code or. Apk ready. Would be willing to reward you for that help indescribable. saviell@gmail.com
É estou completamente perdido Agradeceria muito, se possível tu me enviasse esse código ou .apk pronto. Estaria disposto a recompensa-lo por essa indiscritível ajuda. saviell@gmail.com
Yes that's right, I'm using this one to get the reflection vector in world space. The code is "return reflect(x,y)" but you could also calculate it manually this way: L-2*n*dot(L•N)
The only problem is the manual positioning, but its a good alternative if you have a lot of reflections and dont want them to be real time, yet still look good. Thanks for sharing this.
ReplyDeleteHello, forgive my lack of knowledge (and my English), but I can not build this stuff, because I do not know how to get the following "return max (x, y).
ReplyDeleteCould you help me?
Olá, perdoe minha falta de conhecimento, (e meu ingles), mas não estou conseguindo montar esse material, pois não sei como obter o seguinte "return max(x,y).
Poderia me ajudar?
Hi, these are custom HLSL nodes: http://udn.epicgames.com/Three/MaterialsCompendium.html#Custom
Delete"return max(x,y);" and "return min(min(x,y,z));"is the actual line of code.
It'm completely lost
DeleteWould greatly appreciate if you can send me the code or. Apk ready.
Would be willing to reward you for that help indescribable.
saviell@gmail.com
É estou completamente perdido
Agradeceria muito, se possível tu me enviasse esse código ou .apk pronto.
Estaria disposto a recompensa-lo por essa indiscritível ajuda.
saviell@gmail.com
Nice work! Is that a custom reflect expression you are using? How does that one work exactly?
ReplyDeleteYes that's right, I'm using this one to get the reflection vector in world space.
DeleteThe code is "return reflect(x,y)" but you could also calculate it manually this way: L-2*n*dot(L•N)
Brilliant - thanks!
Delete