From 9e812f35ffa751e9215c5427c0c44005bd357924 Mon Sep 17 00:00:00 2001 From: hwc487 Date: Wed, 7 Mar 2012 17:18:38 -0800 Subject: Fixed a few problems with Plasma material. --- js/lib/rdge/runtime/RuntimeGeomObj.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'js/lib/rdge/runtime/RuntimeGeomObj.js') diff --git a/js/lib/rdge/runtime/RuntimeGeomObj.js b/js/lib/rdge/runtime/RuntimeGeomObj.js index 5b212dce..93d4d9a1 100644 --- a/js/lib/rdge/runtime/RuntimeGeomObj.js +++ b/js/lib/rdge/runtime/RuntimeGeomObj.js @@ -11,7 +11,8 @@ var RuntimeFlatMaterial = RuntimeMaterial.RuntimeFlatMaterial, RuntimeLinearGradientMaterial = RuntimeMaterial.RuntimeLinearGradientMaterial, RuntimeBumpMetalMaterial = RuntimeMaterial.RuntimeBumpMetalMaterial, RuntimeUberMaterial = RuntimeMaterial.RuntimeUberMaterial, - RuntimePulseMaterial = RuntimeMaterial.RuntimePulseMaterial; + RuntimePulseMaterial = RuntimeMaterial.RuntimePulseMaterial, + RuntimePlasmaMaterial = RuntimeMaterial.RuntimePlasmaMaterial; @@ -94,6 +95,7 @@ var RuntimeGeomObj = function RuntimeGeomObj() case "linearGradient": mat = new RuntimeLinearGradientMaterial(); break; case "bumpMetal": mat = new RuntimeBumpMetalMaterial(); break; case "uber": mat = new RuntimeUberMaterial(); break; + case "plasma": mat = new RuntimePlasmaMaterial(); break; case "deform": case "water": -- cgit v1.2.3