Search the Community
Showing results for tags 'normalmap'.
-
Hi, found issue with normal map on some android devices. PG. It gets corrupted and looks like it is related to light, as changing the light type, changes artefact types. Device: Galaxy S5 mini OS: Android 4.4.2 Browser: Chrome 50.0.2661.89 Webgl: {vendor: "ARM", renderer: "Mali-400 MP", version: "WebGL 1.0 (OpenGL ES 2.0 Chromium)"}
-
Hello, I am looking to convert a diffuse type image to normal map directly in babylon.js. I found this option in the editor as in the attached image and I wanted to know if anyone know if this option is already integrated into the framework so as not to have to redo what already exists;). Thank you.
- 8 replies
-
- diffusetexture
- normalmap
-
(and 1 more)
Tagged with:
-
Hello world First of all, BIG THANKS to @Sebavan for its amazing PBR Material ! I'm taking a lot of fun playing with the differents features. On monday, I enjoyed playing with microsurface parameter. It worked really fine until I added a bumpTexture. After diving into the code, I understood that microsurface is handled in two different ways : EXT_shader_texture_lod WebGL extension is supported, LODBASEDMICROSURFACE define is added to the shader, and we can sample reflection texture with the good LOD level. EXT_shader_texture_lod WebGL extension is NOT supported, no define is added to the shader, we don't have access to LOD level and we have to bias mipmap level when sampling to fake LOD level or something like that. Both ways seem to work fine when I don't use bumpTexture. But if I add a bumptexture to the PBR material, then only the first option works. With the second option, we can see some flickering or pixelation, I don't know how to call that (left plane on the picture) : Here is a basic PG showing the PBR material with all these parameters (this one should work !) : http://www.babylonjs-playground.com/#19SMAD#3 And here is the same PG, but I intentionally disabled the extension, to see how it works on devices which do not support the extension : http://www.babylonjs-playground.com/#19SMAD#4 It's less striking on the PG (don't look perpendicular to a face), that's why I posted the picture above. Maybe it's not a bug and it's really impossible to have both microsurface and bumpmap working when the extension isn't available ? What do you think ? Have a good day
- 3 replies
-
- normalmap
- bumptexture
-
(and 5 more)
Tagged with:
-
For everyone who needs a NormalMap Generator for Windows, Mac, Linux and whatever...: I have build an online in-browser free normal map generator. http://cpetry.github.io/NormalMap-Online/ Screenshot: Please give feedback, post ideas or problems you encounter. Greetz, Christian