| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517 |
- material textured
- {
- // uniforms
- u_worldViewProjectionMatrix = WORLD_VIEW_PROJECTION_MATRIX
- u_inverseTransposeWorldViewMatrix = INVERSE_TRANSPOSE_WORLD_VIEW_MATRIX
- // samplers
- sampler u_diffuseTexture
- {
- mipmap = true
- wrapS = REPEAT
- wrapT = REPEAT
- minFilter = LINEAR_MIPMAP_LINEAR
- magFilter = LINEAR
- }
- // render state
- renderState
- {
- cullFace = true
- depthTest = true
- }
- technique
- {
- pass 0
- {
- // shaders
- vertexShader = res/shaders/textured.vert
- fragmentShader = res/shaders/textured.frag
- defines = DIRECTIONAL_LIGHT_COUNT 1
- }
- }
- }
- material texturedUnlit
- {
- // uniforms
- u_worldViewProjectionMatrix = WORLD_VIEW_PROJECTION_MATRIX
- // samplers
- sampler u_diffuseTexture
- {
- mipmap = true
- wrapS = REPEAT
- wrapT = REPEAT
- minFilter = LINEAR_MIPMAP_LINEAR
- magFilter = LINEAR
- }
- // render state
- renderState
- {
- cullFace = true
- depthTest = true
- }
- technique
- {
- pass 0
- {
- // shaders
- vertexShader = res/shaders/textured.vert
- fragmentShader = res/shaders/textured.frag
- }
- }
- }
- material textured-alphatest : texturedUnlit
- {
- technique
- {
- pass 0
- {
- defines = TEXTURE_DISCARD_ALPHA
- }
- }
- }
- material colored
- {
- // uniforms
- u_worldViewProjectionMatrix = WORLD_VIEW_PROJECTION_MATRIX
- u_inverseTransposeWorldViewMatrix = INVERSE_TRANSPOSE_WORLD_VIEW_MATRIX
- // render state
- renderState
- {
- cullFace = true
- depthTest = true
- }
- technique
- {
- pass 0
- {
- // shaders
- vertexShader = res/shaders/colored.vert
- fragmentShader = res/shaders/colored.frag
- defines = DIRECTIONAL_LIGHT_COUNT 1
- }
- }
- }
- material coloredUnlit
- {
- // uniforms
- u_worldViewProjectionMatrix = WORLD_VIEW_PROJECTION_MATRIX
-
- // render state
- renderState
- {
- cullFace = true
- depthTest = true
- }
- technique
- {
- pass 0
- {
- // shaders
- vertexShader = res/shaders/colored.vert
- fragmentShader = res/shaders/colored.frag
- }
- }
- }
- material car : textured
- {
- sampler u_diffuseTexture
- {
- path = @car
- }
- }
- material tile : texturedUnlit
- {
- }
- material tile1 : tile
- {
- sampler u_diffuseTexture
- {
- path = @panel_1
- }
- }
- material tile2 : tile
- {
- sampler u_diffuseTexture
- {
- path = @panel_2
- }
- }
- material tile3 : tile
- {
- sampler u_diffuseTexture
- {
- path = @panel_3
- }
- }
- material tile4 : tile
- {
- sampler u_diffuseTexture
- {
- path = @panel_4
- }
- }
- material tile5 : tile
- {
- sampler u_diffuseTexture
- {
- path = @panel_5
- }
- }
- material tile6 : tile
- {
- sampler u_diffuseTexture
- {
- path = @panel_6
- }
- }
- material tile7 : tile
- {
- sampler u_diffuseTexture
- {
- path = @panel_7
- }
- }
- material tile8 : tile
- {
- sampler u_diffuseTexture
- {
- path = @panel_8
- }
- }
- material tile9 : tile
- {
- sampler u_diffuseTexture
- {
- path = @panel_9
- }
- }
- material tile10 : tile
- {
- sampler u_diffuseTexture
- {
- path = @panel_10
- }
- }
- material tile11 : tile
- {
- sampler u_diffuseTexture
- {
- path = @panel_11
- }
- }
- material tile12 : tile
- {
- sampler u_diffuseTexture
- {
- path = @panel_12
- }
- }
- material tile13 : tile
- {
- sampler u_diffuseTexture
- {
- path = @panel_13
- }
- }
- material tile14 : tile
- {
- sampler u_diffuseTexture
- {
- path = @panel_14
- }
- }
- material tile15 : tile
- {
- sampler u_diffuseTexture
- {
- path = @panel_15
- }
- }
- material tile16 : tile
- {
- sampler u_diffuseTexture
- {
- path = @panel_16
- }
- }
- material track : texturedUnlit
- {
- sampler u_diffuseTexture
- {
- path = @gravel_2
- }
- sampler u_lightmapTexture
- {
- path = @track_1
- mipmap = true
- wrapS = REPEAT
- wrapT = REPEAT
- minFilter = LINEAR_MIPMAP_LINEAR
- magFilter = LINEAR
- }
- technique
- {
- pass 0
- {
- defines = LIGHTMAP;TEXCOORD1
- }
- }
- }
- material pillar : textured
- {
- sampler u_diffuseTexture
- {
- path = @textures_8
- }
- }
- material rail : texturedUnlit
- {
- sampler u_diffuseTexture
- {
- path = @rails
- }
- renderState
- {
- cullFace = false
- blend = true
- srcBlend = SRC_ALPHA
- dstBlend = ONE_MINUS_SRC_ALPHA
- }
- }
- material tree : textured-alphatest
- {
- renderState
- {
- cullFace = false
- }
- }
- material treepine : tree
- {
- sampler u_diffuseTexture
- {
- path = @tree_3
- }
- }
- material treelightgreen : tree
- {
- sampler u_diffuseTexture
- {
- path = @tree_7
- }
- }
- material treebig : tree
- {
- sampler u_diffuseTexture
- {
- path = @tree_4
- }
- }
- material treebrown : tree
- {
- sampler u_diffuseTexture
- {
- path = @tree_2
- }
- }
- material treetall : tree
- {
- sampler u_diffuseTexture
- {
- path = @tree
- }
- }
- material treetallpine : tree
- {
- sampler u_diffuseTexture
- {
- path = @tree_5
- }
- }
- material treewhitepine : tree
- {
- sampler u_diffuseTexture
- {
- path = @tree_6
- }
- }
- material treedetailed : tree
- {
- sampler u_diffuseTexture
- {
- path = @d_tree
- }
- }
- material shrublightgreen : tree
- {
- sampler u_diffuseTexture
- {
- path = @shrub_1
- }
- }
- material shrubdark : tree
- {
- sampler u_diffuseTexture
- {
- path = @shrub_2
- }
- }
- material shruborange : tree
- {
- sampler u_diffuseTexture
- {
- path = @shrub_3
- }
- }
- material grassgreen : tree
- {
- sampler u_diffuseTexture
- {
- path = @grassbunch_1
- }
- }
- material grassred : tree
- {
- sampler u_diffuseTexture
- {
- path = @grassbunch_2
- }
- }
- material trunk : textured
- {
- sampler u_diffuseTexture
- {
- path = @trunk_1
- }
- }
- material trunk2 : textured
- {
- sampler u_diffuseTexture
- {
- path = @trunk_2
- }
- }
- material chain : textured-alphatest
- {
- sampler u_diffuseTexture
- {
- path = @chain_fence_1
- }
- renderState
- {
- cullFace = false
- }
- }
- material wall : texturedUnlit
- {
- sampler u_diffuseTexture
- {
- path = @design_11
- }
- }
- material lightpost : colored
- {
- u_diffuseColor = 0.1, 0.1, 0.1, 1.0
- }
- material lightbulb : coloredUnlit
- {
- u_diffuseColor = 1, 1, 0.815, 1
- }
- material water : colored
- {
- u_diffuseColor = 0.75, 0.9, 0.95, 0.85
- renderState
- {
- blend = true
- srcBlend = SRC_ALPHA
- dstBlend = ONE_MINUS_SRC_ALPHA
- }
- }
- material mountains : texturedUnlit
- {
- sampler u_diffuseTexture
- {
- path = @panorama_2
- }
- renderState
- {
- cullFace = false
- depthWrite = false
- blend = true
- srcBlend = SRC_ALPHA
- dstBlend = ONE_MINUS_SRC_ALPHA
- }
- }
- material skydome : texturedUnlit
- {
- sampler u_diffuseTexture
- {
- path = @panorama_3
- }
- renderState
- {
- cullFace = false
- }
- }
|