论坛

由用户创建的信息 Pavel Kotov
09 September 2016 11:12
Hey donjoe!
About bubbles - I'd recommend just using particles. Parent an emitter to the camera (or place it wherever you want bubbles) and set it to go up! That's what we use in Farm demo.
05 September 2016 10:31
Wow! The piano demo is so good!
And everything loads pretty fast. Amazing job!
02 September 2016 14:44
If you are trying to use Normal Influence on simple textures, like a bump map. it won't work. For that to work you need to use actual normal map

Like this:
norm.blend
02 September 2016 14:27
В указанном примере это работает по глобальной маске, но можно использовать любые подходящие вектора: UV, Orco и тд.

Вот примеры других векторов) Прoсто делаете прозрачность Alpha Clip и подаете анимированную маску во вход Alpha.

Вектора можно разбивать на каналы - и каналы использовать как маску. Я точно не скажу, как работает каждое наложение, я просто эксперементирую)

Для UV я создал отдельную UV развертку - строго сбоку, Project from View.

Для орко просто взял синий канал)

Канал вектора как бы создает градиент от минуса к плюсу, размазывая его по поверхности. Я его зажимаю Multiply нодой и потом просто "езжу" по градиенту, плавно вычитая/добавляя какое-то зрначение

mask.html

mask.blend
02 September 2016 13:56
Can you attach your .blend file and post it here? We'll look through it
02 September 2016 11:15
А не получится это решить, просто уведя кусок лестницы в прозрачность?


например как-то так
02 September 2016 11:03
You are welcome! :)

True, it is a nice thing to know how to setup BI node materials for GLSL. It gives you lots of possibilities!

Good luck!

what also might be helpful:
the entry in the documentation - a lot of useful info, the list of nodes' performance and our special nodes for visual effects or useful instruments explained.

Easiest water setup - a bit more complicated node setup to jump deeper into nodes.

A part of my presentation on the conference - now that's some advanced stuff. But still, it may be really useful in some cases. It's about playing with vectors to get different types of masks.
01 September 2016 14:44
Новая фича для редактора нормалей рулит

01 September 2016 14:43
New Normal Editor tool rocks!

01 September 2016 11:33
Hello :)

For further understanding I recommend you to watch some Blender Internal node materials tutorials. There's a possibility to use Cycles nodes or BI nodes.

If in Cycles we are working mostly with shaders, in BI node materials we are working with images, masks and vectors. Blender Internal itself is raytracing too, but it also has a GLSL feature - what you see in your viewport. Also it is used as a renderer for Blender Game engine. That is what we use as well for rendering in browser (in easy words).

I made a simple video that shows the starters of using Node Materials for GLSL/Blend4Web. Hope it helps.
moon.blend

About Cycles -> Blend4Web: I recommend watching this tutorial by Andrew Price. That setup will work in B4W too.