Searched refs:lightIndex (Results 1 – 1 of 1) sorted by relevance
/external/jmonkeyengine/engine/src/core/com/jme3/material/ |
D | Material.java | 659 int lightIndex = 0; in updateLightListUniforms() local 663 lightColor.setVector4InArray(0f, 0f, 0f, 0f, lightIndex); in updateLightListUniforms() 664 lightPos.setVector4InArray(0f, 0f, 0f, 0f, lightIndex); in updateLightListUniforms() 678 … lightPos.setVector4InArray(dir.getX(), dir.getY(), dir.getZ(), -1, lightIndex); in updateLightListUniforms() local 684 … lightPos.setVector4InArray(pos.getX(), pos.getY(), pos.getZ(), invRadius, lightIndex); in updateLightListUniforms() local 693 … lightPos.setVector4InArray(pos2.getX(), pos2.getY(), pos2.getZ(), invRange, lightIndex); in updateLightListUniforms() local 694 … lightDir.setVector4InArray(dir2.getX(), dir2.getY(), dir2.getZ(), spotAngleCos, lightIndex); in updateLightListUniforms() local 704 lightIndex++; in updateLightListUniforms() 707 while (lightIndex < numLights) { in updateLightListUniforms() 708 lightColor.setVector4InArray(0f, 0f, 0f, 0f, lightIndex); in updateLightListUniforms() [all …]
|