Sorry for necroing this post. But I'm trying to use your parallax shader. I've set up my core_shaders and materials. It works in the game.
But I'm unable to change the spec coeff neither from the material or from the module_postfx. Whatever I try it looks wobbly like the height value is at max.
http://i.imgur.com/ViSVfqE.jpg
I've also noticed this in "ps_main_bump": float height = (tex2D(NormalTextureSampler, In.Tex0).r);
In the readme file it says height is blue channel so I thought maybe this was the problem. I tried changing it to blue. However I can't seem to compile your source file.
I'm getting "define high quality shader profile: VS_X (vs_2_a)"
I tried changing all instances of vs_2_a to VS_X in the source.fx file. But that didn't help either.
I'm hopelessly awaiting your answer.
Edit: https://1drv.ms/u/s!AuvC0xVuBv2EwoNeLW-jjbOKQsxc7A Just uploaded it so you can take a better look at how I set up everything. Just copy native and add these files inside it to test it.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.