Codota Logo
PssmShadowRenderer.setMatParams
Code IndexAdd Codota to your IDE (free)

How to use
setMatParams
method
in
com.jme3.shadow.PssmShadowRenderer

Best Java code snippets using com.jme3.shadow.PssmShadowRenderer.setMatParams (Showing top 2 results out of 315)

  • Add the Codota plugin to your IDE and get smart completions
private void myMethod () {
DateTime d =
  • Codota Iconnew DateTime()
  • Codota IconDateTimeFormatter formatter;String text;formatter.parseDateTime(text)
  • Codota IconObject instant;new DateTime(instant)
  • Smart code suggestions by Codota
}
origin: jMonkeyEngine/jmonkeyengine

public void postFrame(FrameBuffer out) {
  if (debug) {
    displayShadowMap(renderManager.getRenderer());
  }
  if (!noOccluders) {
    //setting params to receiving geometry list
    setMatParams();
    Camera cam = viewPort.getCamera();
    //some materials in the scene does not have a post shadow technique so we're using the fall back material
    if (needsfallBackMaterial) {
      renderManager.setForcedMaterial(postshadowMat);
    }
    //forcing the post shadow technique and render state
    renderManager.setForcedTechnique(postTechniqueName);
    //rendering the post shadow pass
    viewPort.getQueue().renderShadowQueue(lightReceivers, renderManager, cam, true);
    //resetting renderManager settings
    renderManager.setForcedTechnique(null);
    renderManager.setForcedMaterial(null);
    renderManager.setCamera(cam, false);
  }
}
origin: org.jmonkeyengine/jme3-core

public void postFrame(FrameBuffer out) {
  if (debug) {
    displayShadowMap(renderManager.getRenderer());
  }
  if (!noOccluders) {
    //setting params to receiving geometry list
    setMatParams();
    Camera cam = viewPort.getCamera();
    //some materials in the scene does not have a post shadow technique so we're using the fall back material
    if (needsfallBackMaterial) {
      renderManager.setForcedMaterial(postshadowMat);
    }
    //forcing the post shadow technique and render state
    renderManager.setForcedTechnique(postTechniqueName);
    //rendering the post shadow pass
    viewPort.getQueue().renderShadowQueue(lightReceivers, renderManager, cam, true);
    //resetting renderManager settings
    renderManager.setForcedTechnique(null);
    renderManager.setForcedMaterial(null);
    renderManager.setCamera(cam, false);
  }
}
com.jme3.shadowPssmShadowRenderersetMatParams

Popular methods of PssmShadowRenderer

  • displayShadowMap
  • setCompareMode
    sets the shadow compare mode see CompareMode for more info
  • setFilterMode
    Sets the filtering mode for shadow edges see FilterMode for more info
  • setShadowIntensity
    Set the shadowIntensity, the value should be between 0 and 1, a 0 value gives a bright and invisible
  • <init>
    Create a PSSM Shadow Renderer More info on the technique at http://http.developer.nvidia.com/GPUGem
  • createFrustum
  • getDirection
    returns the light direction used by the processor
  • getEdgesThickness
    returns the edges thickness
  • getLambda
    returns the lambda parameter see #setLambda(float lambda)
  • getShadowIntensity
    returns the shadow intensity
  • getShadowZExtend
    How far the shadows are rendered in the view
  • getShadowZFadeLength
    get the length over which the shadow will fade out when using a shadowZextend
  • getShadowZExtend,
  • getShadowZFadeLength,
  • initialize,
  • isFlushQueues,
  • postQueue,
  • preFrame,
  • setDirection,
  • setEdgesThickness,
  • setFlushQueues,
  • setLambda

Popular in Java

  • Finding current android device location
  • setRequestProperty (URLConnection)
  • findViewById (Activity)
  • getApplicationContext (Context)
  • ObjectMapper (com.fasterxml.jackson.databind)
    This mapper (or, data binder, or codec) provides functionality for converting between Java objects (
  • Component (java.awt)
    A component is an object having a graphical representation that can be displayed on the screen and t
  • ConnectException (java.net)
    A ConnectException is thrown if a connection cannot be established to a remote host on a specific po
  • Scanner (java.util)
    A parser that parses a text string of primitive types and strings with the help of regular expressio
  • Get (org.apache.hadoop.hbase.client)
    Used to perform Get operations on a single row. To get everything for a row, instantiate a Get objec
  • Project (org.apache.tools.ant)
    Central representation of an Ant project. This class defines an Ant project with all of its targets,
Codota Logo
  • Products

    Search for Java codeSearch for JavaScript codeEnterprise
  • IDE Plugins

    IntelliJ IDEAWebStormAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogCodota Academy Plugin user guide Terms of usePrivacy policyJava Code IndexJavascript Code Index
Get Codota for your IDE now