Illustrates how to render fur over several primitives.
The fur is rendered on a layered approach using a seamless texture as a base and then creating a density bitmap.
.
Command line arguments':
Argument | Description | Source |
---|---|---|
--BackgroundColor <arg> | Set the background color 0xRRGGBB (use decimal values). | Demo |
--Demo <arg> | Select the demo to run (0 to 3) | Demo |
--ForceFinish <arg> | If true each frame will execute a glFinish call | Demo |
--FurTextureSize <arg> | This controls the resolution of the fur density texture, applied on both axis | Demo |
--HairDensity <arg> | The hair density | Demo |
--HairLength <arg> | The length of the hairs | Demo |
--HighShaderPrecision <arg> | Shader arithmetic precision. false = low, true = high | Demo |
--LayerCount <arg> | The number of layers to use for rendering the fur | Demo |
--Lights <arg> | number of light sources used in fragment shader calculations | Demo |
--Quality <arg> | Select the rendering quality (low,medium,high). | Demo |
--RenderMode <arg> | The render mode: 0=Multi-pass, 1=Multi-pass VB, 2=OldSchool instancing, 3=ES3 instancing (default). | Demo |
--ShowNormals <arg> | Render the normals | Demo |
--TextureRepeatCountX <arg> | Controls the amount of times we show the texture in the x direction (1=once, 2=twice) | Demo |
--TextureRepeatCountY <arg> | Controls the amount of times we show the texture in the y direction (1=once, 2=twice) | Demo |
--TorusMajorSegments <arg> | ... | Demo |
--TorusMinorSegments <arg> | ... | Demo |
--UseTriangleStrip <arg> | Use triangle strips if true, triangle lists if false | Demo |
--DisplayId <arg> | DisplayId <number> | DemoHost |
--EGLAlphaSize <arg> | Force EGL_ALPHA_SIZE to the given value | DemoHost |
--EGLBlueSize <arg> | Force EGL_BLUE_SIZE to the given value | DemoHost |
--EGLDepthSize <arg> | Force EGL_DEPTH_SIZE to the given value | DemoHost |
--EGLGreenSize <arg> | Force EGL_GREEN_SIZE to the given value | DemoHost |
--EGLLogConfig | Output the EGL config to the log | DemoHost |
--EGLLogExtensions | Output the EGL extensions to the log | DemoHost |
--EGLRedSize <arg> | Force EGL_RED_SIZE to the given value | DemoHost |
--Window <arg> | Window mode [left,top,width,height] | DemoHost |
--AppFirewall | Enable the app firewall, reporting crashes on-screen instead of exiting | DemoHostManager |
--ContentMonitor | Monitor the Content directory for changes and restart the app on changes. WARNING: Might not work on all platforms and it might impact app performance (experimental) | DemoHostManager |
--ExitAfterDuration <arg> | Exit after the given duration has passed. The value can be specified in seconds or milliseconds. For example 10s or 10ms. | DemoHostManager |
--ExitAfterFrame <arg> | Exit after the given number of frames has been rendered | DemoHostManager |
--ForceUpdateTime <arg> | Force the update time to be the given value in microseconds (can be useful when taking a lot of screen-shots). If 0 this option is disabled | DemoHostManager |
--LogStats | Log basic rendering stats (this is equal to setting LogStatsMode to latest) | DemoHostManager |
--LogStatsMode <arg> | Set the log stats mode, more advanced version of LogStats. Can be disabled, latest, average | DemoHostManager |
--ScreenshotFormat <arg> | Chose the format for the screenshot: bmp, jpg, png or tga (defaults to png) | DemoHostManager |
--ScreenshotFrequency <arg> | Create a screenshot at the given frame frequency | DemoHostManager |
--ScreenshotNamePrefix <arg> | Chose the screenshot name prefix (defaults to 'Screenshot') | DemoHostManager |
--ScreenshotNameScheme <arg> | Chose the screenshot name scheme: frame, sequence or exact (defaults to frame) | DemoHostManager |
--Stats | Display basic frame profiling stats | DemoHostManager |
--Profiler.AverageEntries <arg> | The number of frames used to calculate the average frame-time. Defaults to: 60 | ProfilerService |
--ghelp <arg> | Display option groups: all, demo or host | base |
-h, --help | Display options | base |
-v, --verbose | Enable verbose output | base |