In VScode 2019, I have wrote a simple ShaderFlipper, I have made all the references to my Glew, GLFW and GLM 64bits folders.
Like in this tutorial :
https://www.wikihow.com/Set-Up-OpenGL-GLFW-GLEW-GLM-on-a-Project-with-Visual-Studio#Downloading-GLFWx32.2C-GLEWbin.2C-and-GLM
I can succeesfuly build my project:
1>------ Build started: Project: ShaderFlipper, Configuration: Debug x64 ------
1>ShaderFlipper.cpp
1>ShaderFlipper.vcxproj -> "location"\ShaderFlipper\x64\Debug\ShaderFlipper.dll
========== Build: 1 succeeded, 0 failed, 0 up-to-date, 0 skipped ==========
Then I have paste the ShaderFlipper.dll in the folder "Extra Effects" at the root of "Resolume Arena 7.15.0".
I have also reference this folder in the preferences -> video In resolume.
But I can't see my shader in the sources of Resolume Arena.
Do you have an idea why ?
I also didn't find a dll exemple on internet to try why Resolume can't see my dll shader.
Thank's for your help
"ShaderFlipper.cpp" :
#include "ShaderFlipper.h"
static PluginInstance p = Source::CreatePlugin({ "SHDR","Shader Flipper" });
static const std::string fShader =
R"(
void main()
{
fragColor = vec4(1.0,0.0,0.0,1.0);
}
)";
ShaderFlipper::ShaderFlipper()
{
SetFragmentShader(fShader);
}
ShaderFlipper::~ShaderFlipper()
{
}
"ShaderFlipper.h" :
#pragma once
#include "C:\Users\fabre\source\repos\ffgl\source\lib\FFGLSDK.h"
using namespace ffglqs;
class ShaderFlipper : public Source
{
public:
ShaderFlipper();
~ShaderFlipper();
};
In VScode 2019, I have wrote a simple ShaderFlipper, I have made all the references to my Glew, GLFW and GLM 64bits folders.
Like in this tutorial :
https://www.wikihow.com/Set-Up-OpenGL-GLFW-GLEW-GLM-on-a-Project-with-Visual-Studio#Downloading-GLFWx32.2C-GLEWbin.2C-and-GLM
I can succeesfuly build my project:
1>------ Build started: Project: ShaderFlipper, Configuration: Debug x64 ------
1>ShaderFlipper.cpp
1>ShaderFlipper.vcxproj -> "location"\ShaderFlipper\x64\Debug\ShaderFlipper.dll
========== Build: 1 succeeded, 0 failed, 0 up-to-date, 0 skipped ==========
Then I have paste the ShaderFlipper.dll in the folder "Extra Effects" at the root of "Resolume Arena 7.15.0".
I have also reference this folder in the preferences -> video In resolume.
But I can't see my shader in the sources of Resolume Arena.
Do you have an idea why ?
I also didn't find a dll exemple on internet to try why Resolume can't see my dll shader.
Thank's for your help
"ShaderFlipper.cpp" :
#include "ShaderFlipper.h"
static PluginInstance p = Source::CreatePlugin({ "SHDR","Shader Flipper" });
static const std::string fShader =
R"(
void main()
{
fragColor = vec4(1.0,0.0,0.0,1.0);
}
)";
ShaderFlipper::ShaderFlipper()
{
SetFragmentShader(fShader);
}
ShaderFlipper::~ShaderFlipper()
{
}
"ShaderFlipper.h" :
#pragma once
#include "C:\Users\fabre\source\repos\ffgl\source\lib\FFGLSDK.h"
using namespace ffglqs;
class ShaderFlipper : public Source
{
public:
ShaderFlipper();
~ShaderFlipper();
};