Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
OfficialIncubo committed Jan 3, 2023
2 parents 82b8095 + 89d40c5 commit e427dfa
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,8 @@ Features to be added:
* Spout Support ([Look DrO's Spout Addition for WACUP](https://github.com/WACUP/vis_milk2/commit/8bc232a670442c79713a15881504bf2813ef8554), [leadedge's Spout Version of BeatDrop](https://github.com/leadedge/BeatDrop))
* Blending the visualizer with Webcam (Example: [Webcam > Spout > NestDrop on Reddit](https://www.reddit.com/r/NestDrop/comments/rh6zew/webcam_spout_nestdrop/) - F2 Hotkey

Things that will be fixed:
* Doing a preset mashup will cause an error message on Windows 11. [SOLVED: Anyone who uses Visual Studio, before you compile the exe file, you must change from debug to release (or build the .exe file without debug infos)].
Before compiling the code:
* Anyone who uses Visual Studio 2019, please change from debug to release and build it.

# BEFORE YOU RUN BEATDROP

Expand Down
2 changes: 1 addition & 1 deletion vis_milk2/plugin.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -8862,7 +8862,7 @@ void CPlugin::GenWarpPShaderText(char *szShaderText, float decay, bool bWrap)
p += sprintf(p, "%c", 1);

p += sprintf(p, " // sample previous frame%c", LF);
p += sprintf(p, " ret = tex2D( sampler%s_main, uv ).xyz;%c", bWrap ? L"" : L"_fc", LF);
p += sprintf(p, " ret = tex2D( sampler%ls_main, uv ).xyz;%c", bWrap ? L"" : L"_fc", LF);
p += sprintf(p, " %c", LF);
p += sprintf(p, " // darken (decay) over time%c", LF);
p += sprintf(p, " ret *= %.2f; //or try: ret -= 0.004;%c", decay, LF);
Expand Down

0 comments on commit e427dfa

Please sign in to comment.