From 1e5f8c2aeea6c58d1d3a9a41e10555962bb02138 Mon Sep 17 00:00:00 2001 From: timoore Date: Tue, 17 Nov 2009 06:23:12 +0000 Subject: [PATCH] Provide some reasonable default textures Author: Tim Moore --- Effects/chrome.eff | 22 +++++++++++++--------- Effects/model-default.eff | 9 +++++++++ 2 files changed, 22 insertions(+), 9 deletions(-) diff --git a/Effects/chrome.eff b/Effects/chrome.eff index 49384ef7e..eaa61e762 100644 --- a/Effects/chrome.eff +++ b/Effects/chrome.eff @@ -2,6 +2,9 @@ Effects/chrome + + transparent + /rendering/scene/chrome-light @@ -17,15 +20,16 @@ rendering-hint 0 - texture[0]/image - texture[0]/filter - texture[0]/wrap-s - texture[0]/wrap-t - + texture[0]/type + texture[0]/image + texture[0]/filter + texture[0]/wrap-s + texture[0]/wrap-t + modulate constant diff --git a/Effects/model-default.eff b/Effects/model-default.eff index 31946123c..e4951bb91 100644 --- a/Effects/model-default.eff +++ b/Effects/model-default.eff @@ -1,6 +1,11 @@ Effects/model-default + + + white + + @@ -39,7 +44,11 @@ cull-face rendering-hint + 0 + texture[0]/type texture[0]/image texture[0]/filter