Shader sampler border setting override
Posted: 23 Nov 2014, 20:03
Hi,
this is a tricky one. In a nutshell, some settings performed in shader A override settings for shader B. This is Ventuz 4.05.02.
Take a look at the image:
Shader A sets the sampler settings hardcoded:
Shader B is in a parallel part of the tree. In the texture node (not in the shader itself!) the settings are:
This goes even further:
rou
this is a tricky one. In a nutshell, some settings performed in shader A override settings for shader B. This is Ventuz 4.05.02.
Take a look at the image:
Shader A sets the sampler settings hardcoded:
Code: Select all
sampler TexSampler : register(s[0]) = sampler_state
{
AddressU = Border;
AddressV = Border;
Filter = Linear;
};
- Mag/Min: Point
- U/V/W-Filter: Wrap
This goes even further:
- Close all scenes
- Open Scene bug_002 -> it looks as expected
- Open bug_001 (make sure you haven't saved any changes there before)
- Switch back to the still open bug_002 -> the settings here are overriden
rou