Forum Replies Created
Does Depth Write Transparency (as shown in teapot image) also work just like that in Blender?
Look at some of the demo scenes as they do that. Basically a sphere around scene with flipped faces will allow environment map to cast reflection but will be invisible due to sphere.
While waiting for a better answer…
That middle texture is using “Texture packing” which can use different colour channels of the image for Metallic/Roughness. Red is AO.
This is a good read on that: https://www.khronos.org/blog/art-pipeline-for-gltf
You can also open the gltf in a text editor as it is in JSON format. Search for “Material” to see what the exporter is exporting or search for “textures” to see what files it expects.
You can also install “Visual Studio Code” and then install the gLTF Tools addon which allows you to see the properties of a material like texture count etc
Is there a bug in this version?
New empty Blender scene (2.81 Beta), click Sneak Peak (2.16.0pre1) and the default cube renders wrong (normals are inverted) in Verge3D.
New shadows! nice. One of my bug bears. Will try that out.
Also, is there a way to get really nice x-ray materials without showing internal triangulation on some detailed models? I wanted a nice partial 90% fade-out material but all of them produce weird visuals where you can see inner triangles at certain camera angles.
Also look forwards to the normal bug fixes.
Hi Yuri, Thanks. I will get an image made for you today.
ahh, I am sure I looked at that example a few months ago and it was different. Anyway, looks great. Will investigate. Thanks.2019-10-03 at 3:18 pm in reply to: How to call a V3D function from outside the iframe? #198062019-10-03 at 2:57 pm in reply to: How to call a V3D function from outside the iframe? #19805
var mat = object.children.material;
Not sure how to call visual_logic puzzle functions as you mentioned though.2019-10-03 at 2:45 pm in reply to: How to call a V3D function from outside the iframe? #19804
Ah, yes, it contains 3 materials. I will look at how to get the one I want.
I also tried calling the new puzzle function (assuming you mean one in visual_logic.js)
and that gave:
Uncaught TypeError: win.v3d.puzzles.procedures.setMaterialColor is not a function
I am using: Verge3D 2.15.0 (WebGL 2.0)