Richard Davey
|
efb5eb09c5
|
Starting refactor
|
2018-07-11 16:24:58 +01:00 |
|
Richard Davey
|
f45ab89f8d
|
The ForwardDiffuseLightPipeline, used by the Lights system, now sets a flag if the Scene doesn't contain any lights. All of the Game Objects now check this flag and don't even bother adding themselves to the batch if there are no lights in the Scene, as they'd never render anyway. This also avoids the ghost-image problem if you swap Scenes to a new Scene with the Light Manager enabled, but no actual lights defined. Fix #3707
|
2018-05-31 16:57:30 +01:00 |
|
Richard Davey
|
57918bb50f
|
Removed the need for raw-loader in webpack. Shaders now build to standard JS files. Removed fs requirement.
|
2018-05-08 23:04:57 +01:00 |
|
Richard Davey
|
97dd683ea1
|
The Forward Diffuse Light Pipeline was hard coded to assume the normal map would be stored in the source index zero. It now correctly obtains the normal map from the frame source index, which means all Game Objects that used frames from multi-atlas textures will now work with lights properly.
|
2018-05-04 14:31:19 +01:00 |
|
Felipe Alfonso
|
f64b4b9b20
|
added jsdoc comments to ForwardDiffuseLightPipeline
|
2018-04-24 16:52:57 -03:00 |
|
Richard Davey
|
ef24982301
|
Pending dos
|
2018-04-24 15:34:55 +01:00 |
|
Richard Davey
|
741d1f5793
|
Doc pending tags
|
2018-04-24 15:32:08 +01:00 |
|
Richard Davey
|
176b085402
|
jsdoc fix
|
2018-04-19 13:28:10 +01:00 |
|
Felipe Alfonso
|
aef538d61b
|
Added parent transform matrix to Light2D pipieline to allow support for containers
|
2018-04-18 18:40:27 -03:00 |
|
Richard Davey
|
55965c748f
|
jsdoc fixes
|
2018-04-18 12:13:49 +01:00 |
|
Richard Davey
|
4f6239dadb
|
jsdoc and eslint fixes
|
2018-04-05 09:02:36 +01:00 |
|
Richard Davey
|
063d30602e
|
The ForwardDiffuseLightPipeline now uses sys.lights instead of the Scene variable to avoid errors due to injection removal.
|
2018-03-12 12:55:09 +00:00 |
|
samme
|
d7780aff64
|
Fix error when no Light Manager exists
|
2018-03-11 19:22:42 -07:00 |
|
Felipe Alfonso
|
c1d482b593
|
Added jsdoc comments to new methods and properties on WebGLPipeline and WebGLRenderer
|
2018-03-05 12:28:59 -03:00 |
|
Felipe Alfonso
|
98893e1bba
|
Modified WebGLPipeline and it's child classes to make them easier to generate custom Pipelines. Added functions to WebGLPipeline to modify uniforms. Exposed Renderer namespace for usage outside the engine
|
2018-03-05 11:29:48 -03:00 |
|
Richard Davey
|
d23688c3e4
|
Added eslint fixes and overrides
|
2018-02-16 18:44:07 +00:00 |
|
Richard Davey
|
86f00eeb52
|
eslint fixes
|
2018-02-16 18:17:51 +00:00 |
|
Felipe Alfonso
|
844e72a7e1
|
Buffer resource update batching implemented into TextureTintPipeline
|
2018-02-13 23:46:34 -03:00 |
|
Felipe Alfonso
|
2aa94c28eb
|
WebGL types added to jsdoc
|
2018-02-12 21:12:17 -03:00 |
|
Richard Davey
|
d1f5f8a82b
|
Added jsdocs
|
2018-02-12 16:01:21 +00:00 |
|
Richard Davey
|
97bb52faec
|
Added jsdocs
|
2018-02-09 19:19:21 +00:00 |
|
Felipe Alfonso
|
da8c7c0b3e
|
WebGL config data is now stored on WebGLRenderer
|
2018-02-06 17:37:13 -03:00 |
|
Felipe Alfonso
|
0648161ca5
|
Added simple light culling
|
2018-01-30 22:11:51 -03:00 |
|
Felipe Alfonso
|
d9b04ef2e9
|
Light2D Plugin added to scene
|
2018-01-30 19:46:43 -03:00 |
|
Felipe Alfonso
|
de4b308fbd
|
Light2D update
|
2018-01-30 00:38:31 -03:00 |
|
Felipe Alfonso
|
71a6360a7b
|
Pipeline components added
|
2018-01-29 18:46:48 -03:00 |
|