hola como hago para que el sprite se ponga totalmente blanco en tiempo real? :) :GMS:


No encontre el manual de Game Maker pero sin shaders creo que era algo asi
EVENTO DRAW:
[gml]
//usando funciones 3d NO SHADER
d3d_set_fog(true,c_white,0,0);
//AQUI DIBUJA SU SPRITE
d3d_set_fog(true,c_white,0,0);

//usando un shader
shader_set(shader0);
//AQUI DIBUJA SU SPRITE
shader_reset();

//CREA UN SHADER Y PEGA ESTO EN LA PESTAÑA FRAGMENT
//
// Simple passthrough fragment shader
//
varying vec2 v_vTexcoord;
varying vec4 v_vColour;


void main()
{   
    vec4 c = texture2D(gm_BaseTexture, v_vTexcoord);
    gl_FragColor = vec4(1.0,1.0,1.0,c.a);

}
[/gml]