Not logged inOpenClonk Forum
Up Topic clonk shader fails

This board is threaded (i.e. has a tree structure). Please use the Reply button of the specific post you are referring to, not just any random button. If you want to reply to the topic in general, use the Post button near the top and bottom of the page.

Post Reply
In Response to PeterW
Hm, interesting. What driver version?

Line 22 is "const vec2 scalerStepX = vec2(1.0 / 8.0, 0.0);", so my best initial guess would be that for some reason your driver doesn't support arithmetic in calculating constants.

Could you maybe try to unpack Graphics.ocg and replace the "const" lines in LandscapeShader.c with:

const vec2 scalerStepX = vec2(0.125, 0.0);
const vec2 scalerStepY = vec2(0.0, 0.03125);
const vec2 scalerOffset = vec2(0.04166666666667, 0.01041666666667);
const vec2 scalerPixel = vec2(0.04166666666667, 0.01041666666667);


That *could* fix the problem.

Powered by mwForum 2.29.7 © 1999-2015 Markus Wichitill