that has a really nice look to it, love the farm
This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.
Show posts Menu

projector = new Projector();
projector.setFOV(1.5f);
projector.setYFOV(1.5f);
sh = new ShadowHelper(world, buffer, projector, 2048);
sh.setCullingMode(false);
sh.setAmbientLight(new Color(30, 30, 30));
sh.setLightMode(true);
//sh.setLightMode(false); neither makes any difference
sh.setBorder(1);
sh.addCaster(shadowbox);
sh.addReceiver(level)
projector.setPosition(player.getTransformedCenter()); //player is object3d that light follows
projector.lookAt(level.getTransformedCenter());
sh.updateShadowMap();
level.compileAndStrip();
l = new Light(world);
l.setAttenuation(800);
l.setIntensity(200, 200, 200);
my light follows my camera
l.setPosition(camera.cam.getPosition());
map_Kd block_Textures/Concrete_Aggregate_Smoke.PNGTexture named Concrete_Aggregate_Smoke.PNG added to TextureManager!map_Kd Concrete_Aggregate_Smoke.PNGmtllib block.mtlusemtl Concrete_Aggregate_SmokePage created in 0.011 seconds with 8 queries.