- Home /
Help with Slice Shader
Hello, I am trying to change some aspects of VR Slice project, where you can cut objects, which is free on git hub. My goal is to change the inside material of the cut objects so that the textures are slowly fading and creating illusion of cooling material. So i create shader and made some changes to make it stop from looping. But here is the Thing, when i am running around for some time then when i am starting to cut some objects this inside texture is already ''cold''. i am calling this fade effect from script, with void update so as i understand will this effect be always starting on game start and it should start on collision. I did get a friendly tip that i should create a toggle in the shader and activate this on collision enter. Can you please help me figure it out how to achieve this?I will be very thank full for any advice
Your answer
![](https://koobas.hobune.stream/wayback/20220612203944im_/https://answers.unity.com/themes/thub/images/avi.jpg)
Follow this Question
Related Questions
BCE0048: Type 'UnityEngine.Component' does not support slicing. 1 Answer
2d Collider matching sprite in editor 0 Answers
Slicing error on "builtin" arrays? 2 Answers
Resource slicing to reduce iOS app size 1 Answer
BCE0048 Error appears when switching platform but works when building for a PC? 0 Answers