VJ Shader for Unity(Unity2018.4.21f1) Vice has a function similar to Hydra
Change the Skybox material in Lighting Preferences to ViceSkybox
Implement the code for the "vice" function in ViceShader.shader
float4 vice(float3 cameraPos, float3 rayDir, float4 screenPos,float2 st)
{
return osc(st);
}
float4 vice(float3 cameraPos, float3 rayDir, float4 screenPos,float2 st)
{
return shape(st);
}
float4 vice(float3 cameraPos, float3 rayDir, float4 screenPos,float2 st)
{
return osc(kaleid(st));
}
float4 vice(float3 cameraPos, float3 rayDir, float4 screenPos,float2 st)
{
return edge(repeat(st));
}
float4 vice(float3 cameraPos, float3 rayDir, float4 screenPos,float2 st)
{
return mult(osc(rotate(st, 0.5, 0),100,0.05,0),shape(repeat(st, 20, 16, 0, 0),12,0.1,0),1);
}