Skip to content

Commit 83d8a2b

Browse files
committed
Bump version
1 parent 10e904a commit 83d8a2b

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

demosys/deferred/shaders/deferred/light_point.glsl

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -50,12 +50,12 @@ void main() {
5050

5151
vec3 lightDir = normalize(vs_lightpos - pos);
5252
vec3 viewDir = normalize(-pos);
53-
// vec3 halfwayDir = normalize(lightDir + viewDir);
54-
vec3 reflectDir = reflect(-lightDir, normal);
53+
vec3 halfwayDir = normalize(lightDir + viewDir);
54+
// vec3 reflectDir = reflect(-lightDir, normal);
5555

5656
float diffuse = max(dot(normal, lightDir), 0.0);
57-
// float spec = pow(max(dot(normal, halfwayDir), 0.0), 32.0);
58-
float spec = pow(max(dot(viewDir, reflectDir), 0.0), 8.0);
57+
float spec = pow(max(dot(normal, halfwayDir), 0.0), 32.0);
58+
// float spec = pow(max(dot(viewDir, reflectDir), 0.0), 8.0);
5959

6060
float l = diffuse * 0.5 + spec;
6161
// l *= (1.0 - dist / radius);

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
setup(
44
name="demosys-py",
5-
version="0.3.14",
5+
version="0.3.15",
66
description="Modern OpenGL 3.3+ Framework inspired by Django",
77
long_description=open('README.rst').read(),
88
url="https://github.com/Contraz/demosys-py",

0 commit comments

Comments
 (0)