Update REMDER (Dx9)
This commit is contained in:
1 parent
a8c9ab7da6
commit
63b1d2c492
58 files changed
+4876
-2
No files matched your search
@@ -0,0 +1,18 @@
|
||||
//This shader file is part of FLAR - Advanced Renderer for Freelancer by Schmackbolzen
|
||||
//If you use the supplied shader files you may not modify them unless you state in them what you changed
|
||||
//and also mention the source or who the author is.
|
||||
//Code based on https://learnopengl.com/PBR/IBL/Specular-IBL
|
||||
|
||||
#version 330
|
||||
layout (location = 0) in vec3 aPos;
|
||||
|
||||
out vec3 WorldPos;
|
||||
|
||||
uniform mat4 projectionMat;
|
||||
uniform mat4 viewMat;
|
||||
|
||||
void main()
|
||||
{
|
||||
WorldPos = aPos;
|
||||
gl_Position = projectionMat * viewMat * vec4(WorldPos, 1.0);
|
||||
}
|
||||
Reference in new issue
Block a user