Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Clark Lin
hw3d
Commits
9f94557f
Commit
9f94557f
authored
Aug 04, 2019
by
chili
Browse files
non-retarded specular parameters for brick
parent
afd72177
Changes
1
Show whitespace changes
Inline
Side-by-side
hw3d/TestPlane.cpp
View file @
9f94557f
...
@@ -23,8 +23,8 @@ TestPlane::TestPlane( Graphics& gfx,float size )
...
@@ -23,8 +23,8 @@ TestPlane::TestPlane( Graphics& gfx,float size )
struct
PSMaterialConstant
struct
PSMaterialConstant
{
{
float
specularIntensity
=
0.
8
f
;
float
specularIntensity
=
0.
1
f
;
float
specularPower
=
45
.0
f
;
float
specularPower
=
20
.0
f
;
float
padding
[
2
];
float
padding
[
2
];
}
pmc
;
}
pmc
;
AddBind
(
PixelConstantBuffer
<
PSMaterialConstant
>::
Resolve
(
gfx
,
pmc
,
1u
)
);
AddBind
(
PixelConstantBuffer
<
PSMaterialConstant
>::
Resolve
(
gfx
,
pmc
,
1u
)
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment