/external/jmonkeyengine/engine/src/core-data/Common/ShaderLib/ |
Texture.glsllib | 3 vec3 Texture_GetNormal(in sampler2D normalMap, in vec2 texCoord){
5 return Common_UnpackNormalLA( texture2D(normalMap, texCoord) );
7 return Common_UnpackNormal( texture2D(normalMap, texCoord).rgb );
|
Parallax.glsllib | 1 #if (defined(PARALLAXMAP) || (defined(NORMALMAP_PARALLAX) && defined(NORMALMAP))) && !defined(VERTEX_LIGHTING)
|
/external/chromium_org/base/containers/ |
small_map.h | 68 // NormalMap: The map type to fall back to. This also defines the key 79 // MapInit: A functor that takes a ManualConstructor<NormalMap>* and uses it to 84 // ManualConstructor, since after it runs we assume that the NormalMap 102 template <typename NormalMap> 105 void operator()(ManualConstructor<NormalMap>* map) const { 178 template <typename NormalMap, 182 NormalMap, 183 internal::has_key_equal<NormalMap>::value>::equal_key, 184 typename MapInit = internal::SmallMapDefaultInit<NormalMap> > 193 typedef typename NormalMap::key_type key_type [all...] |
/external/jmonkeyengine/engine/src/core-data/Common/MatDefs/Light/ |
GBuf.vert | 19 #ifdef NORMALMAP
36 #if defined(NORMALMAP)
|
Lighting.j3md | 56 Texture2D NormalMap
133 NORMALMAP : NormalMap
213 NORMALMAP : NormalMap
|
GBuf.frag | 25 #ifdef NORMALMAP
54 #if defined(NORMALMAP) && !defined(VERTEX_LIGHTING)
|
Lighting.frag | 36 #if (defined(PARALLAXMAP) || (defined(NORMALMAP_PARALLAX) && defined(NORMALMAP))) && !defined(VERTEX_LIGHTING)
44 #ifdef NORMALMAP
142 #if (defined(PARALLAXMAP) || (defined(NORMALMAP_PARALLAX) && defined(NORMALMAP))) && !defined(VERTEX_LIGHTING)
212 #if defined(NORMALMAP) && !defined(VERTEX_LIGHTING)
|
Lighting.vert | 42 #ifndef NORMALMAP
154 #if defined(NORMALMAP) && !defined(VERTEX_LIGHTING)
|
/external/jmonkeyengine/engine/src/terrain/Common/MatDefs/Terrain/ |
TerrainLighting.j3md | 30 Texture2D NormalMap
135 NORMALMAP : NormalMap
229 NORMALMAP : NormalMap
|
TerrainLighting.frag | 105 #ifdef NORMALMAP
271 #ifdef NORMALMAP
482 #ifdef NORMALMAP
596 #if defined(NORMALMAP) || defined(NORMALMAP_1) || defined(NORMALMAP_2) || defined(NORMALMAP_3) || defined(NORMALMAP_4) || defined(NORMALMAP_5) || defined(NORMALMAP_6) || defined(NORMALMAP_7) || defined(NORMALMAP_8) || defined(NORMALMAP_9) || defined(NORMALMAP_10) || defined(NORMALMAP_11)
|
TerrainLighting.vert | 68 #if defined(NORMALMAP) || defined(NORMALMAP_1) || defined(NORMALMAP_2) || defined(NORMALMAP_3) || defined(NORMALMAP_4) || defined(NORMALMAP_5) || defined(NORMALMAP_6) || defined(NORMALMAP_7) || defined(NORMALMAP_8) || defined(NORMALMAP_9) || defined(NORMALMAP_10) || defined(NORMALMAP_11)
|
/external/jmonkeyengine/engine/src/core/com/jme3/scene/shape/ |
Surface.java | 119 //normalMap merges normals of faces that will be rendered smooth
120 Map<Vector3f, Vector3f> normalMap = new HashMap<Vector3f, Vector3f>(vertices.length);
123 this.addNormal(n, normalMap, smooth, vertices[indices[i]], vertices[indices[i + 1]], vertices[indices[i + 2]]);
129 Vector3f n = normalMap.get(vertices[i]);
232 * @param normalMap
239 private void addNormal(Vector3f normalToAdd, Map<Vector3f, Vector3f> normalMap, boolean smooth, Vector3f... vertices) {
241 Vector3f n = normalMap.get(v);
243 normalMap.put(v, normalToAdd.clone());
|
/external/jmonkeyengine/engine/src/core-effects/Common/MatDefs/Water/ |
Water.j3md | 8 Texture2D NormalMap
|
simple_water.frag | 70 //load normalmap
|
/external/jmonkeyengine/engine/src/core-plugins/com/jme3/scene/plugins/ |
MTLLoader.java | 64 protected Texture diffuseMap, normalMap, specularMap, alphaMap; 121 normalMap = null; 148 if (normalMap != null) material.setTexture("NormalMap", normalMap); 233 if (normalMap == null){ 235 normalMap = loadTexture(path);
|
/external/jmonkeyengine/engine/src/blender/com/jme3/scene/plugins/blender/meshes/ |
MeshHelper.java | 150 // normalMap merges normals of faces that will be rendered smooth
151 Map<Vector3f, Vector3f> normalMap = new HashMap<Vector3f, Vector3f>(verticesAmount);
200 this.addNormal(n, normalMap, smooth, vertices[v1], vertices[v2], vertices[v3]);
201 normalList.add(normalMap.get(vertices[v1]));
202 normalList.add(normalMap.get(vertices[v2]));
203 normalList.add(normalMap.get(vertices[v3]));
235 this.addNormal(n, normalMap, smooth, vertices[v4]);
236 normalList.add(normalMap.get(vertices[v1]));
237 normalList.add(normalMap.get(vertices[v3]));
238 normalList.add(normalMap.get(vertices[v4])); [all...] |
/external/jmonkeyengine/engine/src/tools/jme3tools/optimize/ |
TextureAtlas.java | 74 * additionally handle <em>NormalMap</em> and <em>SpecularMap</em> as secondary maps.</p> 139 * Add a geometries DiffuseMap (or ColorMap), NormalMap and SpecularMap to the atlas. 145 Texture normal = getMaterialTexture(geometry, "NormalMap"); 157 addTexture(diffuse, "NormalMap", keyName); 460 * Create a texture atlas for the given root node, containing DiffuseMap, NormalMap and SpecularMap. 504 Texture normalMap = atlas.getAtlasTexture("NormalMap"); 509 if (normalMap != null) { 510 mat.setTexture("NormalMap", normalMap); [all...] |
/external/jmonkeyengine/engine/src/test/jme3test/helloworld/ |
HelloMaterial.java | 90 /** A bumpy rock with a shiny light effect. To make bumpy objects you must create a NormalMap. */ 97 mat_lit.setTexture("NormalMap", assetManager.loadTexture("Textures/Terrain/Pond/Pond_normal.png"));
|
/external/jmonkeyengine/engine/src/test/jme3test/light/ |
TestTangentGenBadModels.java | 44 mat.setTexture("NormalMap", assetManager.loadTexture("Models/TangentBugs/test_normal.png")); 117 mat.setTexture("NormalMap", assetManager.loadTexture("Models/TangentBugs/test_normal.png"));
|
TestSpotLight.java | 97 mat.getTextureParam("NormalMap").getTextureValue().setWrap(WrapMode.Repeat);
|
/external/jmonkeyengine/engine/src/test/jme3test/post/ |
TestSSAO.java | 69 mat.setTexture("NormalMap", norm);
|
TestPostFilters.java | 111 mat.getTextureParam("NormalMap").getTextureValue().setWrap(WrapMode.Repeat);
|
/external/jmonkeyengine/engine/src/test/jme3test/effect/ |
TestEverything.java | 127 mat.getTextureParam("NormalMap").getTextureValue().setWrap(WrapMode.Repeat); 142 // mat.getTextureParam("NormalMap").getValue().setWrap(WrapMode.Repeat);
|
/external/jmonkeyengine/engine/src/blender/com/jme3/scene/plugins/blender/curves/ |
CurvesHelper.java | 412 Map<Vector3f, Vector3f> normalMap = new HashMap<Vector3f, Vector3f>();//normalMap merges normals of faces that will be rendered smooth
507 meshHelper.addNormal(n, normalMap, smooth, allVerts[allIndices[i]], allVerts[allIndices[i + 1]], allVerts[allIndices[i + 2]]);
513 Vector3f n = normalMap.get(v);
|
/external/jmonkeyengine/engine/src/test/jme3test/material/ |
TestParallax.java | 79 mat.getTextureParam("NormalMap").getTextureValue().setWrap(WrapMode.Repeat);
|