Home
last modified time | relevance | path

Searched refs:setFloat (Results 1 – 25 of 69) sorted by relevance

123

/external/jmonkeyengine/engine/src/core-effects/com/jme3/post/filters/
DCrossHatchFilter.java95 material.setFloat("ColorInfluenceLine", colorInfluenceLine); in initFilter()
96 material.setFloat("ColorInfluencePaper", colorInfluencePaper); in initFilter()
98 material.setFloat("FillValue", fillValue); in initFilter()
100 material.setFloat("Luminance1", luminance1); in initFilter()
101 material.setFloat("Luminance2", luminance2); in initFilter()
102 material.setFloat("Luminance3", luminance3); in initFilter()
103 material.setFloat("Luminance4", luminance4); in initFilter()
104 material.setFloat("Luminance5", luminance5); in initFilter()
106 material.setFloat("LineThickness", lineThickness); in initFilter()
107 material.setFloat("LineDistance", lineDistance); in initFilter()
[all …]
DCartoonEdgeFilter.java94 material.setFloat("EdgeWidth", edgeWidth); in initFilter()
95 material.setFloat("EdgeIntensity", edgeIntensity); in initFilter()
96 material.setFloat("NormalThreshold", normalThreshold); in initFilter()
97 material.setFloat("DepthThreshold", depthThreshold); in initFilter()
98 material.setFloat("NormalSensitivity", normalSensitivity); in initFilter()
99 material.setFloat("DepthSensitivity", depthSensitivity); in initFilter()
120 material.setFloat("DepthSensitivity", depthSensitivity); in setDepthSensitivity()
141 material.setFloat("DepthThreshold", depthThreshold); in setDepthThreshold()
162 material.setFloat("EdgeIntensity", edgeIntensity); in setEdgeIntensity()
181 material.setFloat("EdgeWidth", edgeWidth); in setEdgeWidth()
[all …]
DDepthOfFieldFilter.java79 material.setFloat("FocusDistance", focusDistance); in initFilter()
80 material.setFloat("FocusRange", focusRange); in initFilter()
86 material.setFloat("XScale", blurScale * xScale); in initFilter()
87 material.setFloat("YScale", blurScale * yScale); in initFilter()
97 material.setFloat("FocusDistance", focusDistance); in setFocusDistance()
118 material.setFloat("FocusRange", focusRange); in setFocusRange()
146 material.setFloat("XScale", blurScale * xScale); in setBlurScale()
147 material.setFloat("YScale", blurScale * yScale); in setBlurScale()
DFXAAFilter.java31 material.setFloat("SubPixelShift", subPixelShift); in initFilter()
32 material.setFloat("VxOffset", vxOffset); in initFilter()
33 material.setFloat("SpanMax", spanMax); in initFilter()
34 material.setFloat("ReduceMul", reduceMul); in initFilter()
45 material.setFloat("SpanMax", this.spanMax); in setSpanMax()
57 material.setFloat("SubPixelShif", this.subPixelShift); in setSubPixelShift()
69 material.setFloat("ReduceMul", this.reduceMul); in setReduceMul()
76 material.setFloat("VxOffset", this.vxOffset); in setVxOffset()
DPosterizationFilter.java88 material.setFloat("Gamma", gamma); in initFilter()
89 material.setFloat("Strength", strength); in initFilter()
113 material.setFloat("Gamma", gamma); in setGamma()
123 material.setFloat("Strength", strength); in setStrength()
DBloomFilter.java133 extractMat.setFloat("ExposurePow", exposurePower); in initFilter()
134 extractMat.setFloat("ExposureCutoff", exposureCutOff); in initFilter()
152 hBlurMat.setFloat("Size", screenWidth); in initFilter()
153 hBlurMat.setFloat("Scale", blurScale); in initFilter()
167 vBlurMat.setFloat("Size", screenHeight); in initFilter()
168 vBlurMat.setFloat("Scale", blurScale); in initFilter()
184 material.setFloat("BloomIntensity", bloomIntensity); in getMaterial()
DFogFilter.java85 material.setFloat("FogDensity", fogDensity); in initFilter()
86 material.setFloat("FogDistance", fogDistance); in initFilter()
129 material.setFloat("FogDensity", fogDensity); in setFogDensity()
148 material.setFloat("FogDistance", fogDistance); in setFogDistance()
DGammaCorrectionFilter.java43 material.setFloat("gamma", gamma); in initFilter()
60 material.setFloat("gamma", gamma); in setGamma()
DLightScatteringFilter.java91 material.setFloat("BlurStart", blurStart); in getMaterial()
92 material.setFloat("BlurWidth", blurWidth); in getMaterial()
93 material.setFloat("LightDensity", innerLightDensity); in getMaterial()
DRadialBlurFilter.java77 material.setFloat("SampleDist", sampleDist); in getMaterial()
78 material.setFloat("SampleStrength", sampleStrength); in getMaterial()
DFadeFilter.java77 material.setFloat("Value", value); in getMaterial()
174 material.setFloat("Value", value); in setValue()
/external/jmonkeyengine/engine/src/core-effects/com/jme3/water/
DWaterFilter.java140 material.setFloat("Time", time); in preFrame()
147 material.setFloat("WaterHeight", waterHeight); in preFrame()
270 material.setFloat("WaterTransparency", waterTransparency); in initFilter()
271 material.setFloat("NormalScale", normalScale); in initFilter()
272 material.setFloat("R0", refractionConstant); in initFilter()
273 material.setFloat("MaxAmplitude", maxAmplitude); in initFilter()
276 material.setFloat("ShoreHardness", shoreHardness); in initFilter()
277 material.setFloat("RefractionStrength", refractionStrength); in initFilter()
278 material.setFloat("WaveScale", waveScale); in initFilter()
280 material.setFloat("SunScale", sunScale); in initFilter()
[all …]
DSimpleWaterProcessor.java134 material.setFloat("waterDepth", waterDepth); in SimpleWaterProcessor()
135 material.setFloat("waterTransparency", waterTransparency / 10); in SimpleWaterProcessor()
182 material.setFloat("time", time); in preFrame()
430 material.setFloat("waterDepth", depth); in setWaterDepth()
455 material.setFloat("waterTransparency", waterTransparency / 10); in setWaterTransparency()
/external/jmonkeyengine/engine/src/test/jme3test/terrain/
DTerrainTest.java119 matRock.setFloat("Tex1Scale", grassScale); in simpleInitApp()
125 matRock.setFloat("Tex2Scale", dirtScale); in simpleInitApp()
131 matRock.setFloat("Tex3Scale", rockScale); in simpleInitApp()
208 matRock.setFloat("Tex1Scale", 1f / (float) (512f / grassScale));
209 matRock.setFloat("Tex2Scale", 1f / (float) (512f / dirtScale));
210 matRock.setFloat("Tex3Scale", 1f / (float) (512f / rockScale));
213 matRock.setFloat("Tex1Scale", grassScale);
214 matRock.setFloat("Tex2Scale", dirtScale);
215 matRock.setFloat("Tex3Scale", rockScale);
DTerrainTestAdvanced.java100 matTerrain.setFloat("Shininess", 0.0f); in simpleInitApp()
119 matTerrain.setFloat("DiffuseMap_0_scale", dirtScale); in simpleInitApp()
239 matTerrain.setFloat("DiffuseMap_0_scale", 1f / (float) (512f / grassScale));
240 matTerrain.setFloat("DiffuseMap_1_scale", 1f / (float) (512f / dirtScale));
241 matTerrain.setFloat("DiffuseMap_2_scale", 1f / (float) (512f / rockScale));
242 matTerrain.setFloat("DiffuseMap_3_scale", 1f / (float) (512f / rockScale));
243 matTerrain.setFloat("DiffuseMap_4_scale", 1f / (float) (512f / rockScale));
246 matTerrain.setFloat("DiffuseMap_0_scale", grassScale);
247 matTerrain.setFloat("DiffuseMap_1_scale", dirtScale);
248 matTerrain.setFloat("DiffuseMap_2_scale", rockScale);
[all …]
DTerrainTestModifyHeight.java283 matTerrain.setFloat("Shininess", 0); in createTerrain()
292 matTerrain.setFloat("DiffuseMap_0_scale", grassScale); in createTerrain()
298 matTerrain.setFloat("DiffuseMap_1_scale", dirtScale); in createTerrain()
304 matTerrain.setFloat("DiffuseMap_2_scale", rockScale); in createTerrain()
366 matTerrain.setFloat("slopeTileFactor", 32); in createTerrainGrid()
368 matTerrain.setFloat("terrainSize", 513); in createTerrainGrid()
/external/jmonkeyengine/engine/src/core-effects/com/jme3/post/ssao/
DSSAOFilter.java167 ssaoMat.setFloat("SampleRadius", sampleRadius); in initFilter()
168 ssaoMat.setFloat("Intensity", intensity); in initFilter()
169 ssaoMat.setFloat("Scale", scale); in initFilter()
170 ssaoMat.setFloat("Bias", bias); in initFilter()
181 material.setFloat("XScale", blurScale * xScale); in initFilter()
182 material.setFloat("YScale", blurScale * yScale); in initFilter()
202 ssaoMat.setFloat("Bias", bias); in setBias()
221 ssaoMat.setFloat("Intensity", intensity); in setIntensity()
242 ssaoMat.setFloat("SampleRadius", sampleRadius); in setSampleRadius()
264 ssaoMat.setFloat("Scale", scale); in setScale()
/external/jmonkeyengine/engine/src/test/jme3test/helloworld/
DHelloTerrain.java72 mat_terrain.setFloat("Tex1Scale", 64f); in simpleInitApp()
79 mat_terrain.setFloat("Tex2Scale", 32f); in simpleInitApp()
86 mat_terrain.setFloat("Tex3Scale", 128f); in simpleInitApp()
DHelloTerrainCollision.java102 mat_terrain.setFloat("Tex1Scale", 64f); in simpleInitApp()
109 mat_terrain.setFloat("Tex2Scale", 32f); in simpleInitApp()
116 mat_terrain.setFloat("Tex3Scale", 128f); in simpleInitApp()
/external/jmonkeyengine/engine/src/test/jme3test/light/
DTestSpotLightTerrain.java135 matTerrain.setFloat("DiffuseMap_0_scale", grassScale); in makeTerrain()
141 matTerrain.setFloat("DiffuseMap_1_scale", dirtScale); in makeTerrain()
147 matTerrain.setFloat("DiffuseMap_2_scale", rockScale); in makeTerrain()
153 matTerrain.setFloat("DiffuseMap_3_scale", rockScale); in makeTerrain()
159 matTerrain.setFloat("DiffuseMap_4_scale", rockScale); in makeTerrain()
/external/jmonkeyengine/engine/src/core/com/jme3/post/
DHDRRenderer.java200 mat.setFloat("NumPixels", numPixels); in createLumShader()
237 tone.setFloat("A", exposure); in renderToneMap()
238 tone.setFloat("White", whiteLevel); in renderToneMap()
241 tone.setFloat("BlendFactor", blendFactor); in renderToneMap()
323 tone.setFloat("A", 0.18f); in initialize()
324 tone.setFloat("White", 100); in initialize()
/external/jmonkeyengine/engine/src/test/jme3test/material/
DTestParallax.java80 mat.setFloat("Shininess", 0); in setupFloor()
132 mat.setFloat("ParallaxHeight", parallaxHeigh); in simpleInitApp()
137 mat.setFloat("ParallaxHeight", parallaxHeigh); in simpleInitApp()
/external/jmonkeyengine/engine/src/android/jme3test/android/
DSimpleTexturedTest.java64 material.setFloat("Shininess", 127); in simpleInitApp()
70 materialMonkey.setFloat("Shininess", 127); in simpleInitApp()
/external/jmonkeyengine/engine/src/test/jme3test/post/
DTestPosterization.java77 mat.setFloat("Shininess", 15f); in simpleInitApp()
87 matSoil.setFloat("Shininess", 15f); in simpleInitApp()
DTestCrossHatch.java77 mat.setFloat("Shininess", 15f); in simpleInitApp()
87 matSoil.setFloat("Shininess", 15f); in simpleInitApp()

123