Home
last modified time | relevance | path

Searched refs:lightList (Results 1 – 2 of 2) sorted by relevance

/external/jmonkeyengine/engine/src/core/com/jme3/material/
DMaterial.java617 private ColorRGBA getAmbientColor(LightList lightList) { in getAmbientColor() argument
619 for (int j = 0; j < lightList.size(); j++) { in getAmbientColor()
620 Light l = lightList.get(j); in getAmbientColor()
648 LightList lightList = g.getWorldLightList(); in updateLightListUniforms() local
657 ambientColor.setValue(VarType.Vector4, getAmbientColor(lightList)); in updateLightListUniforms()
662 if (lightList.size() <= i) { in updateLightListUniforms()
666 Light l = lightList.get(i); in updateLightListUniforms()
718 LightList lightList = g.getWorldLightList(); in renderMultipassLighting() local
726 for (int i = 0; i < lightList.size(); i++) { in renderMultipassLighting()
727 Light l = lightList.get(i); in renderMultipassLighting()
[all …]
/external/jmonkeyengine/engine/src/lwjgl/com/jme3/renderer/lwjgl/
DLwjglGL1Renderer.java65 private ArrayList<Light> lightList = new ArrayList<Light>(8); field in LwjglGL1Renderer
477 int numLightsSetPrev = lightList.size(); in setLighting()
483 lightList.clear(); in setLighting()
493 lightList.add(l); in setLighting()
496 if (lightList.size() >= maxLights){ in setLighting()
522 for (int i = 0; i < lightList.size(); i++){ in setLighting()
524 Light light = lightList.get(i); in setLighting()
618 for (int i = lightList.size(); i < numLightsSetPrev; i++){ in setLighting()