Yuri Kunde Schlesner
|
d7d434cbc7
|
Merge pull request #2872 from wwylele/sw-geo-factor
SwRasterizer/Lighting: implement geometric factor
|
2017-08-20 17:49:42 -07:00 |
|
wwylele
|
1904567e36
|
SwRasterizer/Lighting: implement spot light
|
2017-08-11 01:19:10 +03:00 |
|
wwylele
|
b7e4eb7d90
|
SwRasterizer/Lighting: implement geometric factor
|
2017-08-11 01:18:43 +03:00 |
|
wwylele
|
72905b0389
|
SwRasterizer/Lighting: use make_tuple instead of constructor
implicit tuple constructor is a c++17 thing, which is not supported by some not-so-old libraries. Play safe for now
|
2017-08-10 12:19:58 +03:00 |
|
wwylele
|
fe4c91ae4c
|
SwRasterizer/Lighting: shorten file name
|
2017-08-03 13:51:22 +03:00 |
|
wwylele
|
0af90eabd8
|
SwRasterizer/Lighting: move to its own file
|
2017-08-02 22:20:40 +03:00 |
|
wwylele
|
a402f75cf4
|
SwRasterizer/Lighting: reduce confusion
|
2017-08-02 22:07:15 +03:00 |
|
wwylele
|
cfd3edb942
|
SwRasterizer/Lighting: move quaternion normalization to the caller
|
2017-08-02 22:05:53 +03:00 |
|
wwylele
|
9f7ba9c282
|
SwRasterizer/Lighting: dist atten lut input need to be clamp
|
2017-07-11 22:19:00 +03:00 |
|
wwylele
|
4fe16d80bd
|
SwRasterizer/Lighting: unify float suffix
|
2017-07-11 22:15:35 +03:00 |
|
wwylele
|
35bbf67e6e
|
SwRasterizer/Lighting: get rid of nested return
|
2017-07-11 22:15:35 +03:00 |
|
wwylele
|
a98f20df55
|
SwRasterizer/Lighting: refactor GetLutValue into a function.
merging similar pattern. Also makes the code more similar to the gl one
|
2017-07-11 22:15:35 +03:00 |
|
wwylele
|
e34dc666cf
|
SwRasterizer: only interpolate quat and view when lighting is enabled
|
2017-07-11 21:35:57 +03:00 |
|
wwylele
|
837642011d
|
SwRasterizer/Lighting: pass lighting state as parameter
|
2017-07-11 20:06:26 +03:00 |
|
Subv
|
57bd9fca7a
|
SwRasterizer/Lighting: Move the clamp highlight calculation to the end of the per-light loop body.
|
2017-07-11 19:39:15 +03:00 |
|
Subv
|
d96c1bd977
|
SwRasterizer/Lighting: Move the lighting enable check outside the ComputeFragmentsColors function.
|
2017-07-11 19:39:15 +03:00 |
|
Subv
|
08ebc3203d
|
SwRasterizer/Lighting: Do not use global registers state in ComputeFragmentsColors.
|
2017-07-11 19:39:15 +03:00 |
|
Subv
|
5d5611f3d7
|
SwRasterizer/Lighting: Do not use global state in LookupLightingLut.
|
2017-07-11 19:39:15 +03:00 |
|
Subv
|
c2088581a0
|
SwRasterizer/Lighting: Fixed a bug where the distance attenuation bias was being set to the dist atten scale.
|
2017-07-11 19:39:15 +03:00 |
|
Subv
|
eefe9b2bed
|
SwRasterizer: Fixed a few conversion warnings and moved per-light values into the per-light loop.
|
2017-07-11 19:39:15 +03:00 |
|
Subv
|
232ff77c65
|
SwRasterizer: Run clang-format
|
2017-07-11 19:39:15 +03:00 |
|
Subv
|
1dcd48ba2a
|
SwRasterizer: Flip the vertex quaternions before clipping (if necessary).
|
2017-07-11 19:39:15 +03:00 |
|
Subv
|
97723538d8
|
SwRasterizer: Corrected the light LUT lookups.
|
2017-07-11 19:39:15 +03:00 |
|
Subv
|
9bc4d2754b
|
SwRasterizer: Corrected the light LUT lookups.
|
2017-07-11 19:39:15 +03:00 |
|
Subv
|
e50af9c6a1
|
SwRasterizer: Fixed the lighting lut lookup function.
|
2017-07-11 19:39:15 +03:00 |
|
Subv
|
3bdb54d954
|
SwRasterizer: Calculate fresnel for fragment lighting.
|
2017-07-11 19:39:15 +03:00 |
|
Subv
|
e238921440
|
SwRasterizer: Calculate specular_1 for fragment lighting.
|
2017-07-11 19:39:15 +03:00 |
|
Subv
|
e28b936c5d
|
SwRasterizer: Calculate specular_0 for fragment lighting.
|
2017-07-11 19:39:15 +03:00 |
|
Subv
|
8e95685a2a
|
SwRasterizer: Implement primary fragment color.
|
2017-07-11 19:39:15 +03:00 |
|
wwylele
|
f1afe2baa8
|
gl_rasterizer: use texture buffer for fog LUT
|
2017-06-22 20:41:00 +03:00 |
|
Yuri Kunde Schlesner
|
b865e7904d
|
Merge pull request #2743 from wwylele/wrap-fix
pica/rasterizer: implement/stub texture wrap mode 4-7
|
2017-06-13 21:28:12 -07:00 |
|
wwylele
|
a13b327035
|
pica/rasterizer: implement/stub texture wrap mode 4-7
|
2017-06-04 09:47:25 +03:00 |
|
wwylele
|
06dfd8eee1
|
swrasterizer: implement TextureCube
|
2017-05-29 22:28:48 +03:00 |
|
Yuri Kunde Schlesner
|
85c524bc45
|
Merge pull request #2697 from wwylele/proctex
Implemented Procedural Texture (Texture Unit 3)
|
2017-05-24 21:37:42 -07:00 |
|
wwylele
|
e965922607
|
swrasterizer: add missing tc0_w and fragment lighting attribute processing
|
2017-05-21 09:09:15 +03:00 |
|
wwylele
|
b010ff8174
|
pica/swrasterizer: implement procedural texture
|
2017-05-20 13:50:50 +03:00 |
|
wwylele
|
cb51c1024f
|
pica: shader_dirty if texture2 coord changed
|
2017-05-05 15:35:17 +03:00 |
|
wwylele
|
39d77e5d9d
|
pica: use correct coordinates for texture 2
|
2017-05-03 22:12:46 +03:00 |
|
wwylele
|
aaa320dd45
|
rasterizer: implement combiner operation 7 (Dot3_RGBA)
|
2017-04-19 23:48:10 +03:00 |
|
Yuri Kunde Schlesner
|
5209e82858
|
SWRasterizer: Move more framebuffer functions to file
|
2017-02-12 18:13:04 -08:00 |
|
Yuri Kunde Schlesner
|
dfc2ec178f
|
SWRasterizer: Move texturing functions to their own file
|
2017-02-12 18:12:37 -08:00 |
|
Yuri Kunde Schlesner
|
541f464d68
|
SWRasterizer: Convert large no-capture lambdas to standalone functions
|
2017-02-12 18:11:05 -08:00 |
|
Yuri Kunde Schlesner
|
fed2e59280
|
SWRasterizer: Move framebuffer operation functions to their own file
|
2017-02-12 18:11:03 -08:00 |
|
Yuri Kunde Schlesner
|
9c0a770c16
|
VideoCore: Move software rasterizer files to sub-directory
|
2017-02-12 18:08:11 -08:00 |
|