VDP-noclip / noclip

NOCLIP is an experimental game in which you “noclip” the environment to solve puzzles.
3 stars 1 forks source link

Slow down animated materials when noclipping #248

Closed TizioMaurizio closed 1 year ago

TizioMaurizio commented 1 year ago

Ale should recompile the animated shaders with variable name as requested before merging. Test in Area_01_slomo, created to avoid conflicts, it will be removed upon merge

edit maybe it's better to create and apply a copy of the materials when starting, otherwise edited materials will always be detected by git also

TizioMaurizio commented 1 year ago

Editing the material directly instead of each instance is the fastest solution but involves editing the material itself and when we save the modification is seen by git, i believe it's not worth to workaround this given the time we have and the low probability of conflict (which would be solved pretty easily)

TizioMaurizio commented 1 year ago

if it is practical we can just put all animated objects in animatedmaterialsholder and then it would be way easier to edit the instances

TizioMaurizio commented 1 year ago

all good and free from side effects now, animated stuff to slow down should go into appropriate gameobjects, later we can implement tags if needed