kimbo04
Usuario (Panamá)
Comparación Antes Después Antes Después Antes Después Instrucciones 1- Abrir Media Player classic 2 - Clic derecho en la pantalla > Shaders > Edit Shaders... Saldrá un cuadro como esto, 3- Primero en orden de colores Azul > Escoger ps_3_0 4- Pegar este código en el cuadro rojo /* --- Vibrance settings --- */ #define Vibrance 0.4 //Intelligently saturates the pixels depending on their original saturation. /* --- Defining Constants --- */ sampler s0 : register(s0); /* --- Vibrance --- */ /* by Christian Cann Schuldt Jensen ~ CeeJay.dk ---- Edited by Omnipotus Vibrance intelligently boosts the saturation of pixels. Also avoids oversaturation of pixels that were already very saturated. */ float4 VibrancePass( float4 colorInput ) { float4 color = colorInput; //original input color float3 lumCoeff = float3(0.2126, 0.7152, 0.0722); //Values to calculate luma with float luma = dot(lumCoeff, color.rgb); //calculate luma (grey) float max_color = max(max(colorInput.r,colorInput.g),colorInput.b); //Find the strongest color float min_color = min(min(colorInput.r,colorInput.g),colorInput.b); //Find the weakest color float color_saturation = max_color - min_color; //The difference between the two is the saturation //color = lerp(luma, color, (1.0 + (Vibrance * (1.0 - color_saturation)))); //extrapolate between luma and original by 1 + (1-saturation) color = lerp(luma, color, (1.0 + (Vibrance * (1.0 - (sign(Vibrance) * color_saturation))))); //extrapolate between luma and original by 1 + (1-saturation) return color; //return the result //return color_saturation.xxxx; //Visualize the saturation } /* --- Main --- */ float4 main(float2 tex : TEXCOORD0) : COLOR { float4 c0 = tex2D(s0, tex); c0 = VibrancePass(c0); return c0; } 6- Escribir un titulo en el cuadro verde ejemplo "Efecto", presionar Enter. Saldrá este resultado. 7- Salimos y ahora entramos acá 8- En orden de colores. En el cuadro buscamos el titulo escrito anteriormente ejemplo en mi caso "Efecto" 9- Seleccionamos Cuadro azul con un solo clic y después ponemos. Agregar una sola vez en Enable Pre-resize pixel shader, Luego dos veces en Enable Pro-resize pixel shaders 10-Aceptar y listo tenemos mejores colores. Consejo truco: Si sienten la imagen muy saturada pueden solo poner uno o dos, jugar poniéndole en Vibrance como 0.8 es personal. Truco 2: Si tienes pereza puedes desactivar uno el pre o post resize shaders, con "Ctrl + J" desactivas el pre, con "Ctrl + Alt + J" desactivas el post, si de repente sientes la imagen muy colorida es un método eficaz para volver algo a la normalidad sin perder tu configuración. Opcional. #define Vibrance 0.4 // el numero puede ir de 0.1 a 0.9 pueden ir cambiándolo a gusto. Fin