mirror of
https://github.com/TES3MP/openmw-tes3mp.git
synced 2025-01-16 19:19:56 +00:00
- exchanged the preprocessor again, no warnings now
- disable line directives for now, causing some trouble
This commit is contained in:
parent
e7ab3544ac
commit
6bfcf2bc1b
3 changed files with 3 additions and 6 deletions
2
extern/shiny
vendored
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…
Reference in a new issue