WebGL React component - EP5 - Texturing

Publicado em: 18 Dezembro 2018
no canal de: JR Development
855
13

In this tutorial, we´re going to set up the physically based rendering system and learn how to apply a diffuse texture to our 3D objects.

source code: https://github.com/jonathanrydholm/we...

const textureCoords = [
// Front
0.0, 0.0,
1.0, 0.0,
1.0, 1.0,
0.0, 1.0,
// Back
0.0, 0.0,
1.0, 0.0,
1.0, 1.0,
0.0, 1.0,
// Top
0.0, 0.0,
1.0, 0.0,
1.0, 1.0,
0.0, 1.0,
// Bottom
0.0, 0.0,
1.0, 0.0,
1.0, 1.0,
0.0, 1.0,
// Right
0.0, 0.0,
1.0, 0.0,
1.0, 1.0,
0.0, 1.0,
// Left
0.0, 0.0,
1.0, 0.0,
1.0, 1.0,
0.0, 1.0,
];


Nesta página do site você pode assistir ao vídeo on-line WebGL React component - EP5 - Texturing duração hora minuto segundo em boa qualidade , que foi baixado pelo usuário JR Development 18 Dezembro 2018, compartilhe o link com seus amigos e conhecidos, no youtube este vídeo já foi visto 855 vezes e gostou 13 espectadores. Boa visualização!