- exchanged the preprocessor again, no warnings now

- disable line directives for now, causing some trouble
pull/21/head
scrawl 13 years ago
parent e7ab3544ac
commit 6bfcf2bc1b

2
extern/shiny vendored

@ -1 +1 @@
Subproject commit 7af50bf4463a828ee0e8cb72c93445c793864bf9 Subproject commit 34c098c636659b63e0ce85d371f4933c27191753

@ -132,7 +132,7 @@
shUniform(float4, fogParams) @shAutoConstant(fogParams, fog_params) shUniform(float4, fogParams) @shAutoConstant(fogParams, fog_params)
#endif #endif
#ifdef HAS_VERTEXCOLOR #if HAS_VERTEXCOLOR
shInput(float4, colourPassthrough) shInput(float4, colourPassthrough)
#endif #endif

@ -247,10 +247,7 @@
// first layer of first pass doesn't need a blend map // first layer of first pass doesn't need a blend map
albedo = shSample(diffuseMap0, UV * 10).rgb; albedo = shSample(diffuseMap0, UV * 10).rgb;
#else #else
#define BLEND_AMOUNT blendValues@shPropertyString(blendmap_component_@shIterator) albedo = shLerp(albedo, shSample(diffuseMap@shIterator, UV * 10).rgb, blendValues@shPropertyString(blendmap_component_@shIterator));
albedo = shLerp(albedo, shSample(diffuseMap@shIterator, UV * 10).rgb, BLEND_AMOUNT);
#endif #endif
@shEndForeach @shEndForeach

Loading…
Cancel
Save