DXGL r187 - Code Review
For
DXGL
(
recent comments
|
status changes
|
tags
|
authors
|
states
|
release notes
|
statistics
)
Jump to navigation
Jump to search
Repository:
DXGL
Revision:
<
r186
|
r187
|
r188
>
Date:
16:33, 29 June 2012
Author:
admin
Status:
new
Tags:
Comment:
Tweak specular lighting.
Release 0.2.3
Modified paths:
/ReadMe.txt
(modified) (
history
)
/common/version.h
(modified) (
history
)
/common/version.nsh
(modified) (
history
)
/ddraw/shadergen.cpp
(modified) (
history
)
Diff
[
purge
]
Index: ReadMe.txt
—
—
@@ -1,4 +1,4 @@
2
-DXGL 0.2.1
2
+DXGL 0.2.3
3
3
http://www.williamfeely.info/wiki/DXGL
4
4
5
5
== Introduction ==
Index: common/version.h
—
—
@@ -4,12 +4,12 @@
5
5
6
6
#define DXGLMAJOR 0
7
7
#define DXGLMINOR 2
8
-#define DXGLPOINT 2
8
+#define DXGLPOINT 3
9
9
#define DXGLBUILD 0
10
10
11
11
#define DXGLVERNUMBER DXGLMAJOR,DXGLMINOR,DXGLPOINT,DXGLBUILD
12
12
#define DXGLVERQWORD (((unsigned __int64)DXGLMAJOR<<48)+((unsigned __int64)DXGLMINOR<<32)+((unsigned __int64)DXGLPOINT<<16)+(unsigned __int64)DXGLBUILD)
13
-#define DXGLVERSTRING "0.2.2.0"
13
+#define DXGLVERSTRING "0.2.3.0"
14
14
15
15
16
16
#endif //__VERSION_H
Index: common/version.nsh
—
—
@@ -1 +1 @@
2
-!define PRODUCT_VERSION "0.2.2"
\ No newline at end of file
2
+!define PRODUCT_VERSION "0.2.3"
\ No newline at end of file
Index: ddraw/shadergen.cpp
—
—
@@ -286,7 +286,8 @@
287
287
static const char op_dirlight[] = "DirLight(lightX);\n";
288
288
static const char op_pointlight[] = "PointLight(lightX);\n";
289
289
static const char op_spotlight[] = "SpotLight(lightX);\n";
290
-static const char op_colorout[] = "gl_FrontColor = (material.diffuse * diffuse) + (material.ambient * ambient) + material.emissive;\n\
290
+static const char op_colorout[] = "gl_FrontColor = (material.diffuse * diffuse) + (material.ambient * ambient)\n\
291
++ (material.specular * specular) + material.emissive;\n\
291
292
gl_FrontSecondaryColor = (material.specular * specular);\n";
292
293
static const char op_colorvert[] = "gl_FrontColor = rgba0.bgra;\n";
293
294
static const char op_color2vert[] = "gl_FrontSecondaryColor = rgba1.bgra;\n";
Navigation menu
Personal tools
Log in
Namespaces
Special page
English
expanded
collapsed
Views
More
expanded
collapsed
Search
Navigation
Home
Main page
Recent changes
Random page
MediaWiki help
Introduction
Progress
Downloads
Source code
Build from source
AppDB
Bug reports
Forums
Tools
Special pages
Printable version