71 |
# Read the pixel and its neighbours |
# Read the pixel and its neighbours |
72 |
TEX p, fragment.texcoord[0], texture[0], 2D; |
TEX p, fragment.texcoord[0], texture[0], 2D; |
73 |
|
|
74 |
|
|
75 |
MUL p.y, p.x, p.x; |
MUL p.y, p.x, p.x; |
76 |
MUL p.z, p.x, p.y; |
MUL p.z, p.x, p.y; |
77 |
MUL p.x, -.666, p.z; |
MUL p.x, -.666, p.z; |
177 |
""" % locals()), csg) |
""" % locals()), csg) |
178 |
|
|
179 |
cs1 = vs.affineCS(rot, "1", 0, self.x, self.y, |
cs1 = vs.affineCS(rot, "1", 0, self.x, self.y, |
180 |
300, 0, 0, 300) |
80, 0, 0, 80) |
181 |
|
|
182 |
if self.texfilt: |
if self.texfilt: |
183 |
minfilt = "LINEAR_MIPMAP_LINEAR" |
minfilt = "LINEAR_MIPMAP_LINEAR" |