|
80 | 80 | return something; // must be a vec4 representing the new color
|
81 | 81 | }
|
82 | 82 |
|
83 |
| -The full shader will calculate the normal pixel colour at each point, |
| 83 | +The full shader will calculate the normal pixel color at each point, |
84 | 84 | then call your :code:`effect` function to transform it. The
|
85 | 85 | parameters are:
|
86 | 86 |
|
87 |
| -- **color**: The normal colour of the current pixel (i.e. texture |
| 87 | +- **color**: The normal color of the current pixel (i.e. texture |
88 | 88 | sampled at tex_coords).
|
89 | 89 | - **texture**: The texture containing the widget's normal background.
|
90 | 90 | - **tex_coords**: The normal texture_coords used to access texture.
|
@@ -448,14 +448,14 @@ def set_fbo_shader(self, *args):
|
448 | 448 |
|
449 | 449 |
|
450 | 450 | class MonochromeEffect(EffectBase):
|
451 |
| - '''Returns its input colours in monochrome.''' |
| 451 | + '''Returns its input colors in monochrome.''' |
452 | 452 | def __init__(self, *args, **kwargs):
|
453 | 453 | super(MonochromeEffect, self).__init__(*args, **kwargs)
|
454 | 454 | self.glsl = effect_monochrome
|
455 | 455 |
|
456 | 456 |
|
457 | 457 | class InvertEffect(EffectBase):
|
458 |
| - '''Inverts the colours in the input.''' |
| 458 | + '''Inverts the colors in the input.''' |
459 | 459 | def __init__(self, *args, **kwargs):
|
460 | 460 | super(InvertEffect, self).__init__(*args, **kwargs)
|
461 | 461 | self.glsl = effect_invert
|
|
0 commit comments