From cad2dc9e06d90e263c69d1c755c76d5a57c2d0c9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cl=C3=A9ment=20de=20l=27Hamaide?= Date: Mon, 18 Nov 2013 03:17:58 +0100 Subject: [PATCH] Fix missing elements in texture declaration in effects files. Fixes bug #1267 --- Effects/airfield.eff | 3 + Effects/bowwave.eff | 49 ++++++++ Effects/building.eff | 12 ++ Effects/bumpspec.eff | 2 + Effects/cloud-models.eff | 3 + Effects/crop.eff | 5 +- Effects/cropgrass.eff | 2 + Effects/forest.eff | 9 +- Effects/glacier.eff | 10 +- Effects/herbtundra.eff | 10 +- Effects/landmass-scrub.eff | 1 + Effects/landmass.eff | 21 +++- Effects/lfeat.eff | 3 + Effects/lightmap.eff | 1 + Effects/model-combined-deferred.eff | 27 ++++- Effects/model-combined-transparent.eff | 20 +++- Effects/model-combined.eff | 42 ++++++- Effects/model-default.eff | 4 + Effects/model-transparent.eff | 5 +- Effects/reflect-bump-spec.eff | 11 +- Effects/runway.eff | 31 ++++- Effects/terrain-default.eff | 22 ++++ Effects/transition-base-dirt.eff | 1 + Effects/transition-base-grass-inverse.eff | 1 + Effects/transition-base-grass-rock.eff | 3 + Effects/transition-base-rock.eff | 1 + Effects/transition.eff | 27 +++++ Effects/urban.eff | 45 ++++++++ Effects/water-dds.eff | 6 + Effects/water-inland.eff | 78 +++++++++++++ Effects/water.eff | 132 +++++++++++++++++++++- 31 files changed, 563 insertions(+), 24 deletions(-) diff --git a/Effects/airfield.eff b/Effects/airfield.eff index a19b83e29..4aeb477bf 100644 --- a/Effects/airfield.eff +++ b/Effects/airfield.eff @@ -5,6 +5,7 @@ Textures.high/Terrain/airport_grass2.png + 2d linear-mipmap-linear repeat repeat @@ -95,6 +96,7 @@ 0 texture[13]/image + texture[13]/type texture[13]/filter texture[13]/wrap-s texture[13]/wrap-t @@ -109,6 +111,7 @@ 6 texture[10]/image + texture[10]/type texture[10]/filter texture[10]/wrap-s texture[10]/wrap-t diff --git a/Effects/bowwave.eff b/Effects/bowwave.eff index 2c2148a06..18e693985 100644 --- a/Effects/bowwave.eff +++ b/Effects/bowwave.eff @@ -5,6 +5,7 @@ /Textures/Water/water-reflection.png + 2d linear-mipmap-linear repeat repeat @@ -12,6 +13,7 @@ /Textures/Water/perlin-noise-nm.dds + 2d linear-mipmap-linear repeat repeat @@ -19,6 +21,7 @@ /Textures/Water/waves-ver10-dudv.dds + 2d linear-mipmap-linear repeat repeat @@ -26,6 +29,7 @@ /Textures/Water/water-reflection-grey.png + 2d linear-mipmap-linear repeat repeat @@ -33,6 +37,7 @@ /Textures/Water/sea_foam.dds + 2d linear-mipmap-linear repeat repeat @@ -40,6 +45,7 @@ /Textures/Water/bowwave3.dds + 2d linear-mipmap-linear repeat repeat @@ -47,6 +53,7 @@ /Textures/Water/bowwave_normal.dds + 2d linear-mipmap-linear repeat repeat @@ -223,6 +230,9 @@ texture[0]/image + + texture[0]/type + texture[0]/filter @@ -245,6 +255,9 @@ texture[2]/image + + texture[2]/type + texture[2]/filter @@ -263,6 +276,9 @@ texture[3]/image + + texture[3]/type + texture[3]/filter @@ -281,6 +297,9 @@ texture[4]/image + + texture[4]/type + texture[4]/filter @@ -299,6 +318,9 @@ texture[5]/image + + texture[5]/type + texture[5]/filter @@ -317,6 +339,9 @@ texture[6]/image + + texture[6]/type + texture[6]/filter @@ -335,6 +360,9 @@ texture[7]/image + + texture[7]/type + texture[7]/filter @@ -619,6 +647,9 @@ texture[0]/image + + texture[0]/type + texture[0]/filter @@ -641,6 +672,9 @@ texture[2]/image + + texture[2]/type + texture[2]/filter @@ -659,6 +693,9 @@ texture[3]/image + + texture[3]/type + texture[3]/filter @@ -677,6 +714,9 @@ texture[4]/image + + texture[4]/type + texture[4]/filter @@ -695,6 +735,9 @@ texture[5]/image + + texture[5]/type + texture[5]/filter @@ -713,6 +756,9 @@ texture[6]/image + + texture[6]/type + texture[6]/filter @@ -731,6 +777,9 @@ texture[7]/image + + texture[7]/type + texture[7]/filter diff --git a/Effects/building.eff b/Effects/building.eff index 252860104..4f6657ba2 100644 --- a/Effects/building.eff +++ b/Effects/building.eff @@ -18,6 +18,7 @@ Textures/buildings-lightmap.png + 2d linear-mipmap-linear clamp clamp @@ -164,6 +165,9 @@ texture[3]/image + + texture[3]/type + texture[3]/filter @@ -224,6 +228,7 @@ 0 texture[0]/image + texture[0]/type texture[0]/filter texture[0]/wrap-s texture[0]/wrap-t @@ -267,6 +272,7 @@ 0 texture[0]/image + texture[0]/type texture[0]/filter texture[0]/wrap-s texture[0]/wrap-t @@ -357,6 +363,9 @@ texture[3]/image + + texture[3]/type + texture[3]/filter @@ -409,6 +418,9 @@ texture[3]/image + + texture[3]/type + texture[3]/filter diff --git a/Effects/bumpspec.eff b/Effects/bumpspec.eff index 41fcf0f03..968300b37 100644 --- a/Effects/bumpspec.eff +++ b/Effects/bumpspec.eff @@ -57,6 +57,7 @@ in Aircraft/A320/Models/Effects/a320_bumpspec.eff ( or whatever, private to the 0 texture[0]/image + texture[0]/type texture[0]/filter texture[0]/wrap-s texture[0]/wrap-t @@ -65,6 +66,7 @@ in Aircraft/A320/Models/Effects/a320_bumpspec.eff ( or whatever, private to the 1 texture[2]/image + texture[2]/type texture[2]/filter texture[2]/wrap-s texture[2]/wrap-t diff --git a/Effects/cloud-models.eff b/Effects/cloud-models.eff index c60336161..488ca3356 100644 --- a/Effects/cloud-models.eff +++ b/Effects/cloud-models.eff @@ -94,6 +94,9 @@ texture[0]/active 0 + + texture[0]/type + texture[0]/image texture[0]/filter texture[0]/wrap-s diff --git a/Effects/crop.eff b/Effects/crop.eff index 9bc934808..5e7d265fa 100644 --- a/Effects/crop.eff +++ b/Effects/crop.eff @@ -5,6 +5,7 @@ Textures/Terrain/crop.png + 2d linear-mipmap-linear repeat repeat @@ -12,6 +13,7 @@ Textures/Terrain/crop-colors.png + 1d linear-mipmap-linear mirror normalized @@ -67,6 +69,7 @@ 1 texture[2]/image + texture[2]/type texture[2]/filter texture[2]/wrap-s texture[2]/wrap-t @@ -76,7 +79,7 @@ 2 - 1d + texture[3]/type texture[3]/image texture[3]/filter texture[3]/wrap-s diff --git a/Effects/cropgrass.eff b/Effects/cropgrass.eff index 7ca55d597..04a904d76 100644 --- a/Effects/cropgrass.eff +++ b/Effects/cropgrass.eff @@ -5,6 +5,7 @@ Textures/Terrain/cropgrass.png + 2d linear-mipmap-linear repeat repeat @@ -12,6 +13,7 @@ Textures/Terrain/cropgrass-colors.png + 1d linear-mipmap-linear mirror normalized diff --git a/Effects/forest.eff b/Effects/forest.eff index df29c1c02..da3a1f130 100644 --- a/Effects/forest.eff +++ b/Effects/forest.eff @@ -9,12 +9,14 @@ repeat repeat normalized + 2d Textures/Terrain/forest-colors.png linear-mipmap-linear mirror normalized + 1d Textures/Terrain/forest.png @@ -22,6 +24,7 @@ repeat repeat normalized + 2d Textures.high/Terrain/forest-relief.png @@ -29,6 +32,7 @@ repeat repeat normalized + 2d /environment/snow-level-m 0.04 @@ -114,6 +118,7 @@ 1 + texture[2]/type texture[2]/image texture[2]/filter texture[2]/wrap-s @@ -124,7 +129,7 @@ 3 - 1d + texture[3]/type texture[3]/image texture[3]/filter texture[3]/wrap-s @@ -134,6 +139,7 @@ 2 + texture[4]/type texture[4]/image texture[4]/filter texture[4]/wrap-s @@ -144,6 +150,7 @@ 5 + texture[5]/type texture[5]/image texture[5]/filter texture[5]/wrap-s diff --git a/Effects/glacier.eff b/Effects/glacier.eff index f51c1fdd8..ae1890ae7 100644 --- a/Effects/glacier.eff +++ b/Effects/glacier.eff @@ -5,6 +5,7 @@ Textures/Terrain/rock.png + 2d linear-mipmap-linear repeat repeat @@ -12,12 +13,14 @@ Textures/Terrain/forest-colors.png + 1d linear-mipmap-linear mirror normalized Textures/Terrain/forest.png + 2d linear-mipmap-linear repeat repeat @@ -25,6 +28,7 @@ Textures.high/Terrain/forest-relief.png + 2d linear-mipmap-linear repeat repeat @@ -40,7 +44,6 @@ 0.86 0.22 - /environment/ground-visibility-m @@ -116,6 +119,7 @@ 1 texture[2]/image + texture[2]/type texture[2]/filter texture[2]/wrap-s texture[2]/wrap-t @@ -125,8 +129,8 @@ 3 - 1d texture[3]/image + texture[3]/type texture[3]/filter texture[3]/wrap-s @@ -136,6 +140,7 @@ 2 texture[4]/image + texture[4]/type texture[4]/filter texture[4]/wrap-s texture[4]/wrap-t @@ -146,6 +151,7 @@ 5 texture[5]/image + texture[5]/type texture[5]/filter texture[5]/wrap-s texture[5]/wrap-t diff --git a/Effects/herbtundra.eff b/Effects/herbtundra.eff index 079f15b8a..8135565e0 100644 --- a/Effects/herbtundra.eff +++ b/Effects/herbtundra.eff @@ -5,6 +5,7 @@ Textures/Terrain/rock.png + 2d linear-mipmap-linear repeat repeat @@ -12,12 +13,14 @@ Textures/Terrain/forest-colors.png + 1d linear-mipmap-linear mirror normalized Textures/Terrain/forest.png + 2d linear-mipmap-linear repeat repeat @@ -25,6 +28,7 @@ Textures.high/Terrain/forest-relief.png + 2d linear-mipmap-linear repeat repeat @@ -116,6 +120,7 @@ 1 texture[2]/image + texture[2]/type texture[2]/filter texture[2]/wrap-s texture[2]/wrap-t @@ -125,8 +130,8 @@ 3 - 1d texture[3]/image + texture[3]/type texture[3]/filter texture[3]/wrap-s @@ -136,6 +141,7 @@ 2 texture[4]/image + texture[4]/type texture[4]/filter texture[4]/wrap-s texture[4]/wrap-t @@ -146,6 +152,7 @@ 5 texture[5]/image + texture[5]/type texture[5]/filter texture[5]/wrap-s texture[5]/wrap-t @@ -154,7 +161,6 @@ - Shaders/forest.vert Shaders/include_fog.frag Shaders/forest.frag diff --git a/Effects/landmass-scrub.eff b/Effects/landmass-scrub.eff index a685ed8a4..01d6a74dc 100644 --- a/Effects/landmass-scrub.eff +++ b/Effects/landmass-scrub.eff @@ -5,6 +5,7 @@ Textures.high/Terrain/shrubcover-relief.png + 2d linear-mipmap-linear repeat repeat diff --git a/Effects/landmass.eff b/Effects/landmass.eff index 2638bb34f..b5ef6e6a8 100644 --- a/Effects/landmass.eff +++ b/Effects/landmass.eff @@ -5,6 +5,7 @@ Textures.high/Terrain/forest-relief.png + 2d linear-mipmap-linear repeat repeat @@ -18,8 +19,6 @@ /sim/rendering/shaders/landmass - - /environment/ground-visibility-m @@ -40,6 +39,7 @@ /sim/rendering/shaders/skydome + 6 @@ -101,6 +101,9 @@ texture[0]/image + + texture[0]/type + texture[0]/filter @@ -190,8 +193,8 @@ - + true @@ -231,6 +234,9 @@ texture[0]/image + + texture[0]/type + texture[0]/filter @@ -249,6 +255,9 @@ texture[2]/image + + texture[2]/type + texture[2]/filter @@ -435,6 +444,9 @@ texture[0]/image + + texture[0]/type + texture[0]/filter @@ -453,6 +465,9 @@ texture[2]/image + + texture[2]/type + texture[2]/filter diff --git a/Effects/lfeat.eff b/Effects/lfeat.eff index debb122f3..9f396810e 100644 --- a/Effects/lfeat.eff +++ b/Effects/lfeat.eff @@ -61,6 +61,9 @@ texture[0]/image + + texture[0]/type + texture[0]/filter diff --git a/Effects/lightmap.eff b/Effects/lightmap.eff index d615fbf6a..e3c8b5f5d 100644 --- a/Effects/lightmap.eff +++ b/Effects/lightmap.eff @@ -201,6 +201,7 @@ texture[0]/active 0 texture[0]/image + texture[0]/type texture[0]/filter texture[0]/wrap-s texture[0]/wrap-t diff --git a/Effects/model-combined-deferred.eff b/Effects/model-combined-deferred.eff index 8853d2ceb..c5370cd29 100644 --- a/Effects/model-combined-deferred.eff +++ b/Effects/model-combined-deferred.eff @@ -93,6 +93,9 @@ the objects that use it, and replaces it with the default shader. texture[0]/image + + texture[0]/type + texture[0]/filter @@ -117,6 +120,9 @@ the objects that use it, and replaces it with the default shader. texture[2]/image + + texture[2]/type + texture[2]/filter @@ -136,6 +142,9 @@ the objects that use it, and replaces it with the default shader. texture[3]/image + + texture[3]/type + texture[3]/filter @@ -155,6 +164,9 @@ the objects that use it, and replaces it with the default shader. texture[4]/image + + texture[4]/type + texture[4]/filter @@ -189,6 +201,9 @@ the objects that use it, and replaces it with the default shader. texture[6]/image + + texture[6]/type + texture[6]/filter @@ -203,7 +218,7 @@ the objects that use it, and replaces it with the default shader. - + @@ -270,7 +285,7 @@ the objects that use it, and replaces it with the default shader. 5 - + + + + ReflGradientsTex + sampler-2d + 6 diff --git a/Effects/model-combined-transparent.eff b/Effects/model-combined-transparent.eff index 2bc44da31..fceb6a10f 100644 --- a/Effects/model-combined-transparent.eff +++ b/Effects/model-combined-transparent.eff @@ -79,10 +79,13 @@ and fallback to plain transparency when the model shader is disabled. DepthSortedBin + 0 texture[0]/active - 0 + + texture[0]/type + texture[0]/image @@ -195,6 +198,9 @@ and fallback to plain transparency when the model shader is disabled. texture[0]/image + + texture[0]/type + texture[0]/filter @@ -219,6 +225,9 @@ and fallback to plain transparency when the model shader is disabled. texture[2]/image + + texture[2]/type + texture[2]/filter @@ -238,6 +247,9 @@ and fallback to plain transparency when the model shader is disabled. texture[3]/image + + texture[3]/type + texture[3]/filter @@ -257,6 +269,9 @@ and fallback to plain transparency when the model shader is disabled. texture[4]/image + + texture[4]/type + texture[4]/filter @@ -293,6 +308,9 @@ and fallback to plain transparency when the model shader is disabled. texture[6]/image + + texture[6]/type + texture[6]/filter diff --git a/Effects/model-combined.eff b/Effects/model-combined.eff index 856f06c5f..ddc36214f 100644 --- a/Effects/model-combined.eff +++ b/Effects/model-combined.eff @@ -8,15 +8,16 @@ please see Docs/README.model-combined.eff for documentation - + 0 0 1.0 Aircraft/Generic/Effects/null_bumpspec.png + 2d linear-mipmap-linear clamp clamp @@ -35,6 +36,7 @@ please see Docs/README.model-combined.eff for documentation 1.0 1.0 1.0 Aircraft/Generic/Effects/greymap.png + 2d linear-mipmap-linear clamp clamp @@ -47,6 +49,7 @@ please see Docs/README.model-combined.eff for documentation 0 Aircraft/Generic/Effects/ReflectMaps/reflectmap.png + 2d linear-mipmap-linear clamp clamp @@ -73,6 +76,7 @@ please see Docs/README.model-combined.eff for documentation 0.1 Aircraft/Generic/Effects/Gradients.png + 2d linear-mipmap-linear repeat repeat @@ -87,6 +91,7 @@ please see Docs/README.model-combined.eff for documentation 10 Textures/Terrain/void.png + 2d linear-mipmap-linear repeat repeat @@ -240,6 +245,9 @@ please see Docs/README.model-combined.eff for documentation texture[0]/image + + texture[0]/type + texture[0]/filter @@ -264,6 +272,9 @@ please see Docs/README.model-combined.eff for documentation texture[2]/image + + texture[2]/type + texture[2]/filter @@ -283,6 +294,9 @@ please see Docs/README.model-combined.eff for documentation texture[3]/image + + texture[3]/type + texture[3]/filter @@ -302,6 +316,9 @@ please see Docs/README.model-combined.eff for documentation texture[4]/image + + texture[4]/type + texture[4]/filter @@ -338,6 +355,9 @@ please see Docs/README.model-combined.eff for documentation texture[6]/image + + texture[6]/type + texture[6]/filter @@ -357,6 +377,9 @@ please see Docs/README.model-combined.eff for documentation texture[7]/image + + texture[7]/type + texture[7]/filter @@ -899,6 +922,9 @@ please see Docs/README.model-combined.eff for documentation texture[0]/image + + texture[0]/type + texture[0]/filter @@ -923,6 +949,9 @@ please see Docs/README.model-combined.eff for documentation texture[2]/image + + texture[2]/type + texture[2]/filter @@ -942,6 +971,9 @@ please see Docs/README.model-combined.eff for documentation texture[3]/image + + texture[3]/type + texture[3]/filter @@ -961,6 +993,9 @@ please see Docs/README.model-combined.eff for documentation texture[4]/image + + texture[4]/type + texture[4]/filter @@ -997,6 +1032,9 @@ please see Docs/README.model-combined.eff for documentation texture[6]/image + + texture[6]/type + texture[6]/filter diff --git a/Effects/model-default.eff b/Effects/model-default.eff index e4e4fb344..a7a40b9f7 100644 --- a/Effects/model-default.eff +++ b/Effects/model-default.eff @@ -204,6 +204,7 @@ 0 + texture[0]/type texture[0]/image texture[0]/filter texture[0]/wrap-s @@ -451,6 +452,9 @@ texture[0]/image + + texture[0]/type + texture[0]/filter diff --git a/Effects/model-transparent.eff b/Effects/model-transparent.eff index cd0aefbe6..dfde84081 100644 --- a/Effects/model-transparent.eff +++ b/Effects/model-transparent.eff @@ -83,10 +83,13 @@ DepthSortedBin + 0 texture[0]/active - 0 + + texture[0]/type + texture[0]/image diff --git a/Effects/reflect-bump-spec.eff b/Effects/reflect-bump-spec.eff index dcd751558..0ce976f50 100644 --- a/Effects/reflect-bump-spec.eff +++ b/Effects/reflect-bump-spec.eff @@ -203,6 +203,9 @@ EXAMPLES: You can find examples of both usages in the Hunter and Lightning model texture[0]/image + + texture[0]/type + texture[0]/filter @@ -222,6 +225,9 @@ EXAMPLES: You can find examples of both usages in the Hunter and Lightning model texture[8]/image + + texture[8]/type + texture[8]/filter @@ -232,7 +238,7 @@ EXAMPLES: You can find examples of both usages in the Hunter and Lightning model texture[8]/wrap-t - texture[0]/internal-format + texture[8]/internal-format @@ -246,6 +252,9 @@ EXAMPLES: You can find examples of both usages in the Hunter and Lightning model texture[4]/image + + texture[4]/type + texture[4]/filter diff --git a/Effects/runway.eff b/Effects/runway.eff index 1886dc6a2..d06710f94 100644 --- a/Effects/runway.eff +++ b/Effects/runway.eff @@ -9,6 +9,7 @@ repeat repeat normalized + 2d cubemap @@ -27,6 +28,7 @@ + 2d Aircraft/Generic/Effects/Rainbow.png linear-mipmap-linear repeat @@ -34,6 +36,7 @@ normalized + 2d Aircraft/Generic/Effects/FresnelLookUp.png linear-mipmap-linear repeat @@ -41,6 +44,7 @@ normalized + 2d Textures/Runway/rwy-reflect.png linear-mipmap-linear repeat @@ -160,6 +164,7 @@ 0 + texture[0]/type texture[0]/image texture[0]/filter texture[0]/wrap-s @@ -168,6 +173,7 @@ 4 + texture[4]/type texture[4]/image texture[4]/filter texture[4]/wrap-s @@ -176,6 +182,7 @@ 5 + texture[12]/type texture[12]/image texture[12]/filter texture[12]/wrap-s @@ -184,6 +191,7 @@ 6 + texture[10]/type texture[10]/image texture[10]/filter texture[10]/wrap-s @@ -192,6 +200,7 @@ 7 + texture[11]/type texture[11]/image texture[11]/filter texture[11]/wrap-s @@ -358,6 +367,9 @@ 0 + + texture[0]/type + texture[0]/image @@ -377,6 +389,9 @@ 1 + + texture[8]/type + texture[8]/image @@ -401,6 +416,9 @@ 4 + + texture[4]/type + texture[4]/image @@ -683,6 +701,9 @@ 0 + + texture[0]/type + texture[0]/image @@ -696,12 +717,15 @@ texture[0]/wrap-t - texture[1]/internal-format + texture[0]/internal-format 1 + + texture[8]/type + texture[8]/image @@ -715,7 +739,7 @@ texture[8]/wrap-t - texture[0]/internal-format + texture[8]/internal-format @@ -726,6 +750,9 @@ 4 + + texture[4]/type + texture[4]/image diff --git a/Effects/terrain-default.eff b/Effects/terrain-default.eff index e3d0e93e2..c62a9e953 100644 --- a/Effects/terrain-default.eff +++ b/Effects/terrain-default.eff @@ -20,6 +20,7 @@ Textures/Terrain/unknown.png + 2d linear-mipmap-linear repeat @@ -32,6 +33,7 @@ Textures.high/Terrain/snow3.png + 2d linear-mipmap-linear repeat repeat @@ -39,6 +41,7 @@ Textures/Terrain/void.png + 2d linear-mipmap-linear repeat repeat @@ -46,6 +49,7 @@ Textures/Terrain/void.png + 2d linear-mipmap-linear repeat repeat @@ -53,6 +57,7 @@ Textures.high/Terrain/rock_alt.png + 2d linear-mipmap-linear repeat repeat @@ -60,6 +65,7 @@ Textures.high/Terrain/grain_texture.png + 2d linear-mipmap-linear repeat repeat @@ -67,6 +73,7 @@ Textures/Terrain/void.png + 2d linear-mipmap-linear repeat repeat @@ -185,6 +192,7 @@ 0 texture[0]/image + texture[0]/type texture[0]/filter texture[0]/wrap-s texture[0]/wrap-t @@ -193,6 +201,7 @@ 2 texture[13]/image + texture[13]/type texture[13]/filter texture[13]/wrap-s texture[13]/wrap-t @@ -200,6 +209,7 @@ 3 + texture[15]/type texture[15]/image texture[15]/filter texture[15]/wrap-s @@ -208,6 +218,7 @@ 4 + texture[14]/type texture[14]/image texture[14]/filter texture[14]/wrap-s @@ -216,6 +227,7 @@ 5 + texture[12]/type texture[12]/image texture[12]/filter texture[12]/wrap-s @@ -224,6 +236,7 @@ 7 + texture[11]/type texture[11]/image texture[11]/filter texture[11]/wrap-s @@ -515,6 +528,7 @@ 0 + texture[0]/type texture[0]/image texture[0]/filter texture[0]/wrap-s @@ -527,6 +541,7 @@ 5 + texture[12]/type texture[12]/image texture[12]/filter texture[12]/wrap-s @@ -535,6 +550,7 @@ 6 + texture[10]/type texture[10]/image texture[10]/filter texture[10]/wrap-s @@ -543,6 +559,7 @@ 7 + texture[11]/type texture[11]/image texture[11]/filter texture[11]/wrap-s @@ -737,6 +754,7 @@ 0 + texture[0]/type texture[0]/image texture[0]/filter texture[0]/wrap-s @@ -896,6 +914,7 @@ 0 + texture[0]/type texture[0]/image texture[0]/filter texture[0]/wrap-s @@ -961,6 +980,7 @@ 0 + texture[0]/type texture[0]/image texture[0]/filter texture[0]/wrap-s @@ -1000,6 +1020,7 @@ 0 + texture[0]/type texture[0]/image texture[0]/filter texture[0]/wrap-s @@ -1080,6 +1101,7 @@ 0 + texture[0]/type texture[0]/image texture[0]/filter texture[0]/wrap-s diff --git a/Effects/transition-base-dirt.eff b/Effects/transition-base-dirt.eff index e66f8c2c4..b6f0a68ae 100644 --- a/Effects/transition-base-dirt.eff +++ b/Effects/transition-base-dirt.eff @@ -5,6 +5,7 @@ Textures.high/Terrain/dirt3.dds + 2d linear-mipmap-linear repeat repeat diff --git a/Effects/transition-base-grass-inverse.eff b/Effects/transition-base-grass-inverse.eff index 0e2005d3b..42c508f6d 100644 --- a/Effects/transition-base-grass-inverse.eff +++ b/Effects/transition-base-grass-inverse.eff @@ -5,6 +5,7 @@ Textures.high/Terrain/herbtundra.dds + 2d linear-mipmap-linear repeat repeat diff --git a/Effects/transition-base-grass-rock.eff b/Effects/transition-base-grass-rock.eff index e9e1192ac..4b9a75cae 100644 --- a/Effects/transition-base-grass-rock.eff +++ b/Effects/transition-base-grass-rock.eff @@ -5,6 +5,7 @@ Textures.high/Terrain/grass10c.dds + 2d linear-mipmap-linear repeat repeat @@ -12,6 +13,7 @@ Textures.high/Terrain/rock7.dds + 2d linear-mipmap-linear repeat repeat @@ -19,6 +21,7 @@ Textures.high/Terrain.winter/mixedforest1c.dds + 2d linear-mipmap-linear repeat repeat diff --git a/Effects/transition-base-rock.eff b/Effects/transition-base-rock.eff index 87de290e5..a39c9014c 100644 --- a/Effects/transition-base-rock.eff +++ b/Effects/transition-base-rock.eff @@ -5,6 +5,7 @@ Textures.high/Terrain/rock7.dds + 2d linear-mipmap-linear repeat repeat diff --git a/Effects/transition.eff b/Effects/transition.eff index f235f3e0a..1df2c6452 100644 --- a/Effects/transition.eff +++ b/Effects/transition.eff @@ -17,6 +17,7 @@ parameters : Textures.high/Terrain/transition1.dds + 2d linear-mipmap-linear repeat repeat @@ -24,6 +25,7 @@ parameters : Textures.high/Terrain/transition2.dds + 2d linear-mipmap-linear repeat repeat @@ -31,6 +33,7 @@ parameters : Textures.high/Terrain/snow3.dds + 2d linear-mipmap-linear repeat repeat @@ -149,6 +152,9 @@ parameters : 0 + + texture[0]/type + texture[0]/image @@ -168,6 +174,9 @@ parameters : 1 + + texture[2]/type + texture[2]/image @@ -187,6 +196,9 @@ parameters : 2 + + texture[3]/type + texture[3]/image @@ -206,6 +218,9 @@ parameters : 3 + + texture[4]/type + texture[4]/image @@ -449,6 +464,9 @@ parameters : 0 + + texture[0]/type + texture[0]/image @@ -468,6 +486,9 @@ parameters : 1 + + texture[2]/type + texture[2]/image @@ -487,6 +508,9 @@ parameters : 2 + + texture[3]/type + texture[3]/image @@ -506,6 +530,9 @@ parameters : 3 + + texture[4]/type + texture[4]/image diff --git a/Effects/urban.eff b/Effects/urban.eff index c387d77c6..44aa1156e 100644 --- a/Effects/urban.eff +++ b/Effects/urban.eff @@ -110,6 +110,9 @@ texture[0]/image + + texture[0]/type + texture[0]/filter @@ -128,6 +131,9 @@ texture[2]/image + + texture[2]/type + texture[2]/filter @@ -146,6 +152,9 @@ texture[2]/image + + texture[2]/type + nearest-mipmap-nearest texture[2]/wrap-s @@ -401,6 +410,9 @@ texture[0]/image + + texture[0]/type + texture[0]/filter @@ -419,6 +431,9 @@ texture[2]/image + + texture[2]/type + texture[2]/filter @@ -659,6 +674,9 @@ texture[0]/image + + texture[0]/type + texture[0]/filter @@ -677,6 +695,9 @@ texture[2]/image + + texture[2]/type + texture[2]/filter @@ -695,6 +716,9 @@ texture[2]/image + + texture[2]/type + nearest-mipmap-nearest texture[2]/wrap-s @@ -846,6 +870,9 @@ texture[0]/image + + texture[0]/type + texture[0]/filter @@ -864,6 +891,9 @@ texture[2]/image + + texture[2]/type + texture[2]/filter @@ -1018,6 +1048,9 @@ texture[0]/image + + texture[0]/type + texture[0]/filter @@ -1036,6 +1069,9 @@ texture[2]/image + + texture[2]/type + texture[2]/filter @@ -1054,6 +1090,9 @@ texture[2]/image + + texture[2]/type + nearest-mipmap-nearest texture[2]/wrap-s @@ -1264,6 +1303,9 @@ texture[0]/image + + texture[0]/type + texture[0]/filter @@ -1282,6 +1324,9 @@ texture[2]/image + + texture[2]/type + texture[2]/filter diff --git a/Effects/water-dds.eff b/Effects/water-dds.eff index 90c59d8b9..e3f09b50d 100644 --- a/Effects/water-dds.eff +++ b/Effects/water-dds.eff @@ -5,6 +5,7 @@ Textures/Water/water-reflection.dds + 2d linear-mipmap-linear repeat repeat @@ -12,6 +13,7 @@ Textures/Water/waves-ver10-nm.dds + 2d linear-mipmap-linear repeat repeat @@ -19,6 +21,7 @@ Textures/Water/water_sine_nmap.dds + 2d linear-mipmap-linear repeat repeat @@ -26,6 +29,7 @@ Textures/Water/water-reflection-grey.dds + 2d linear-mipmap-linear repeat repeat @@ -33,6 +37,7 @@ Textures/Water/sea_foam.dds + 2d linear-mipmap-linear repeat repeat @@ -40,6 +45,7 @@ Textures/Water/perlin-noise-nm.dds + 2d linear-mipmap-linear repeat repeat diff --git a/Effects/water-inland.eff b/Effects/water-inland.eff index fa49487f7..dcb917e79 100644 --- a/Effects/water-inland.eff +++ b/Effects/water-inland.eff @@ -5,6 +5,7 @@ Textures/Water/water-reflection.png + 2d linear-mipmap-linear repeat repeat @@ -12,6 +13,7 @@ Textures/Water/waves-ver10-nm.png + 2d linear-mipmap-linear repeat repeat @@ -19,6 +21,7 @@ Textures/Water/water_sine_nmap.png + 2d linear-mipmap-linear repeat repeat @@ -26,6 +29,7 @@ Textures/Water/water-reflection-grey.png + 2d linear-mipmap-linear repeat repeat @@ -33,6 +37,7 @@ Textures/Water/sea_foam.png + 2d linear-mipmap-linear repeat repeat @@ -40,6 +45,7 @@ Textures/Water/perlin-noise-nm.png + 2d linear-mipmap-linear repeat repeat @@ -209,6 +215,9 @@ texture[0]/image + + texture[0]/type + texture[0]/filter @@ -227,6 +236,9 @@ texture[2]/image + + texture[2]/type + texture[2]/filter @@ -245,6 +257,9 @@ texture[3]/image + + texture[3]/type + texture[3]/filter @@ -263,6 +278,9 @@ texture[4]/image + + texture[4]/type + texture[4]/filter @@ -281,6 +299,9 @@ texture[5]/image + + texture[5]/type + texture[5]/filter @@ -299,6 +320,9 @@ texture[6]/image + + texture[6]/type + texture[6]/filter @@ -576,6 +600,9 @@ texture[0]/image + + texture[0]/type + texture[0]/filter @@ -594,6 +621,9 @@ texture[2]/image + + texture[2]/type + texture[2]/filter @@ -612,6 +642,9 @@ texture[3]/image + + texture[3]/type + texture[3]/filter @@ -630,6 +663,9 @@ texture[4]/image + + texture[4]/type + texture[4]/filter @@ -648,6 +684,9 @@ texture[5]/image + + texture[5]/type + texture[5]/filter @@ -666,6 +705,9 @@ texture[6]/image + + texture[6]/type + texture[6]/filter @@ -949,6 +991,9 @@ texture[0]/image + + texture[0]/type + texture[0]/filter @@ -967,6 +1012,9 @@ texture[2]/image + + texture[2]/type + texture[2]/filter @@ -985,6 +1033,9 @@ texture[3]/image + + texture[3]/type + texture[3]/filter @@ -1003,6 +1054,9 @@ texture[4]/image + + texture[4]/type + texture[4]/filter @@ -1021,6 +1075,9 @@ texture[5]/image + + texture[5]/type + texture[5]/filter @@ -1039,6 +1096,9 @@ texture[6]/image + + texture[6]/type + texture[6]/filter @@ -1314,6 +1374,9 @@ texture[0]/image + + texture[0]/type + texture[0]/filter @@ -1332,6 +1395,9 @@ texture[2]/image + + texture[2]/type + texture[2]/filter @@ -1350,6 +1416,9 @@ texture[3]/image + + texture[3]/type + texture[3]/filter @@ -1368,6 +1437,9 @@ texture[4]/image + + texture[4]/type + texture[4]/filter @@ -1386,6 +1458,9 @@ texture[5]/image + + texture[5]/type + texture[5]/filter @@ -1404,6 +1479,9 @@ texture[6]/image + + texture[6]/type + texture[6]/filter diff --git a/Effects/water.eff b/Effects/water.eff index 9fbde5cb6..88bacb034 100644 --- a/Effects/water.eff +++ b/Effects/water.eff @@ -5,6 +5,7 @@ Textures/Water/water-reflection.png + 2d linear-mipmap-linear repeat repeat @@ -12,6 +13,7 @@ Textures/Water/waves-ver10-nm.png + 2d linear-mipmap-linear repeat repeat @@ -19,6 +21,7 @@ Textures/Water/water_sine_nmap.png + 2d linear-mipmap-linear repeat repeat @@ -26,6 +29,7 @@ Textures/Water/water-reflection-grey.png + 2d linear-mipmap-linear repeat repeat @@ -33,6 +37,7 @@ Textures/Water/sea_foam.png + 2d linear-mipmap-linear repeat repeat @@ -40,6 +45,7 @@ Textures/Water/perlin-noise-nm.png + 2d linear-mipmap-linear repeat repeat @@ -47,6 +53,7 @@ Textures/Globe/ocean_depth_1.png + 2d linear-mipmap-linear repeat repeat @@ -54,6 +61,7 @@ Textures.high/Terrain/packice-overlay.png + 2d linear-mipmap-linear repeat repeat @@ -232,6 +240,9 @@ texture[0]/image + + texture[0]/type + texture[0]/filter @@ -250,6 +261,9 @@ texture[2]/image + + texture[2]/type + texture[2]/filter @@ -268,6 +282,9 @@ texture[3]/image + + texture[3]/type + texture[3]/filter @@ -286,6 +303,9 @@ texture[4]/image + + texture[4]/type + texture[4]/filter @@ -304,6 +324,9 @@ texture[5]/image + + texture[5]/type + texture[5]/filter @@ -322,6 +345,9 @@ texture[6]/image + + texture[6]/type + texture[6]/filter @@ -340,6 +366,9 @@ texture[10]/image + + texture[10]/type + texture[10]/filter @@ -578,8 +607,6 @@ - - @@ -638,6 +665,9 @@ texture[0]/image + + texture[0]/type + texture[0]/filter @@ -656,6 +686,9 @@ texture[2]/image + + texture[2]/type + texture[2]/filter @@ -674,6 +707,9 @@ texture[3]/image + + texture[3]/type + texture[3]/filter @@ -692,6 +728,9 @@ texture[4]/image + + texture[4]/type + texture[4]/filter @@ -710,6 +749,9 @@ texture[5]/image + + texture[5]/type + texture[5]/filter @@ -728,6 +770,9 @@ texture[6]/image + + texture[6]/type + texture[6]/filter @@ -946,9 +991,6 @@ - - - @@ -1014,6 +1056,9 @@ texture[0]/image + + texture[0]/type + texture[0]/filter @@ -1036,6 +1081,9 @@ texture[2]/image + + texture[2]/type + texture[2]/filter @@ -1054,6 +1102,9 @@ texture[3]/image + + texture[3]/type + texture[3]/filter @@ -1072,6 +1123,9 @@ texture[4]/image + + texture[4]/type + texture[4]/filter @@ -1090,6 +1144,9 @@ texture[5]/image + + texture[5]/type + texture[5]/filter @@ -1108,6 +1165,9 @@ texture[6]/image + + texture[6]/type + texture[6]/filter @@ -1126,6 +1186,9 @@ texture[7]/image + + texture[7]/type + texture[7]/filter @@ -1370,6 +1433,7 @@ + @@ -1433,6 +1497,9 @@ texture[0]/image + + texture[0]/type + texture[0]/filter @@ -1451,6 +1518,9 @@ texture[2]/image + + texture[2]/type + texture[2]/filter @@ -1469,6 +1539,9 @@ texture[3]/image + + texture[3]/type + texture[3]/filter @@ -1487,6 +1560,9 @@ texture[4]/image + + texture[4]/type + texture[4]/filter @@ -1505,6 +1581,9 @@ texture[5]/image + + texture[5]/type + texture[5]/filter @@ -1523,6 +1602,9 @@ texture[6]/image + + texture[6]/type + texture[6]/filter @@ -1815,6 +1897,9 @@ texture[0]/image + + texture[0]/type + texture[0]/filter @@ -1837,6 +1922,9 @@ texture[2]/image + + texture[2]/type + texture[2]/filter @@ -1855,6 +1943,9 @@ texture[3]/image + + texture[3]/type + texture[3]/filter @@ -1873,6 +1964,9 @@ texture[4]/image + + texture[4]/type + texture[4]/filter @@ -1891,6 +1985,9 @@ texture[5]/image + + texture[5]/type + texture[5]/filter @@ -1909,6 +2006,9 @@ texture[6]/image + + texture[6]/type + texture[6]/filter @@ -1927,6 +2027,9 @@ texture[7]/image + + texture[7]/type + texture[7]/filter @@ -2176,6 +2279,7 @@ + @@ -2234,6 +2338,9 @@ texture[0]/image + + texture[0]/type + texture[0]/filter @@ -2252,6 +2359,9 @@ texture[2]/image + + texture[2]/type + texture[2]/filter @@ -2270,6 +2380,9 @@ texture[3]/image + + texture[3]/type + texture[3]/filter @@ -2288,6 +2401,9 @@ texture[4]/image + + texture[4]/type + texture[4]/filter @@ -2306,6 +2422,9 @@ texture[5]/image + + texture[5]/type + texture[5]/filter @@ -2324,6 +2443,9 @@ texture[6]/image + + texture[6]/type + texture[6]/filter