Forum

Matcap node (or nodeless) set up

12 December 2014 15:22
Thanks Pavel,

That fixed it.
12 December 2014 15:46
Thank you so much for everything.
I have just added a normal map and it is working exactly as I wanted it to.

Blend4Web is so amazing and you guys have also helped me to level up my Blender material node skills too.
There are so many possibilities with these fantastic Open Source tools.
17 December 2014 20:31
the node setups in the examples above really helped me understand what was being explained in the watch and sunglasses tutorials. To expand on the very simple node setups, if you have a moment, please show an example of the REFLECT with a bump or normal map, and the VECTOR_VIEW with a bump or normal map.
18 December 2014 14:41
Here you go

Just replace NORMAL vector with normalmap vector.

html

.blend
19 December 2014 01:19
Thanks a lot for that. These simple examples help a lot with breaking down the complex tutorial node setups, so I really appreciate it, as I am sure others will.
18 April 2015 10:23
None of these are equivalent to the dynamic cubemap reflections that Three.js and Babylon.js can evidently do since WebGL supports that:

http://mrdoob.github.io/three.js/examples/webgl_materials_cubemap_dynamic2.html

http://www.babylonjs.com/CYOS/

So is there *any* way to do this with Blend4Web to create a simple torus or torus knot that will prove the feature of using nodes to really reflect an environment? I've just about had it with the demos being yanked from the archives and now being paid products since I can't get a real piece of jewelry to reflect light delightfully at all using the Blender HTML export feature. Something about nodes and no mention in the manual that the cubic mapping is just fixing the bright sky to the top of the model permanently. Just very confusing! I'm working for a well financed jewelry in NYC trying to create WebGL product displays and I'm not sure I am at all comfortable with these non dynamic demo files to place one of his pieces into it before we pay $3K just to try it with real customer support.

Where is the torus knot akin to my above two examples?! Seems crazy not to offer that as a working demo file I can edit.
20 April 2015 14:43
Hi Nik,

Something about nodes and no mention in the manual that the cubic mapping is just fixing the bright sky to the top of the model permanently.
Probably, here you speak about the image-based lighting and not about cubemap reflections. Blend4Web supports this kind of reflections as you can see in many of our demos, for example, here.

If we talk about dynamic cubemaps like in the three.js example above, then - yes, Blend4Web doesn't support it yet. One of the main reasons is the errors which were present both in Chrome and Firefox.
Here are bug reports:
https://code.google.com/p/chromium/issues/detail?id=298435
https://code.google.com/p/angleproject/issues/detail?id=849
As you can see, three.js demo is used as an example there.

In recent version, we believe, they fixed it.
So, now we consider supporting this too.

I can't get a real piece of jewelry to reflect light delightfully at all using the Blender HTML export feature
Are you sure you need realtime reflections of surrounding objects? Jewelery in realtime often uses just prerendered cubemaps. Dynamic cubemaps are not very fast technique, and they are helpfull only when your object is moving around the scene. (Not only rotating) Or when you have some moving objects that are reflected in your jewelery.

[EDIT]
This demo is using cubemap reflections as well and I think it looks okay. Is this quality enough for your needs?
04 June 2015 11:42

None of these are equivalent to the dynamic cubemap reflections that Three.js and Babylon.js can evidently do since WebGL supports that:

http://mrdoob.github.io/three.js/examples/webgl_materials_cubemap_dynamic2.html

http://www.babylonjs.com/CYOS/

So is there *any* way to do this with Blend4Web to create a simple torus or torus knot that will prove the feature of using nodes to really reflect an environment?

Dynamic cube-mapped reflections were implemented in version 15.05. Come back!
The Founder | Twitter | Facebook | Linkedin
 
Please register or log in to leave a reply.