Felipe Lira
|
bd25fe30
|
Initial refactor work on shader library to allow reuse passes/core for multiple shaders with minimal work.
|
7 年前 |
Felipe Lira
|
272ebcd0
|
Removed the options to disable lightmap and ambient probes from lightweight as they dont' make sense. Renames linear settings to force linear
|
7 年前 |
Felipe Lira
|
301fd283
|
Added mixed vertex/frag SH evaluation. Added GlossyEnvironmentColor to be used when glossy reflections are off.
|
7 年前 |
Felipe Lira
|
99e6e8e0
|
Fixed SH sampling in non PBS shading
|
7 年前 |
Felipe Lira
|
5ce0e5d7
|
Refactor on LiweightPassLit + BRDF
|
7 年前 |
Felipe Lira
|
9ea83a56
|
Added Occlusion keyword. Updated materials. More refactor on the shader.
|
7 年前 |
Felipe Lira
|
0afc0404
|
Fixed emission property on SimpleLightingShader. Removed Env mapping support for consistency with old legacy shader library.
|
7 年前 |
Felipe Lira
|
0c75b7cd
|
Fixed emission in LightweightSimpleLighting shader. Fixed shader inspectors.
|
7 年前 |
Felipe Lira
|
961ab624
|
Light refactor to sort lights and disable directional lights from per object light lists.
|
7 年前 |
Felipe Lira
|
cced0898
|
Refactored light setup to not sort lights. Sorting at a global level would introduce light popping.
|
7 年前 |
Felipe Lira
|
94a4d501
|
Added PerFrame and PerCamera constant buffers.
|
7 年前 |
Felipe Lira
|
06348311
|
Added support to 9 lights to lightweight. 1 main light + 8 per-object.
|
7 年前 |
Felipe Lira
|
bb4866a1
|
Update SurfaceData to match ShaderGraph layout
|
7 年前 |
Felipe Lira
|
e82227ea
|
More changes to support ShaderGraph + make it easier to support additional lit shaders.
|
7 年前 |
Felipe Lira
|
6c874f37
|
More refactor changes to support ShaderGraph
|
7 年前 |
Felipe Lira
|
fb2ea3ef
|
Further refactors to support ShaderGraph
|
7 年前 |
Felipe Lira
|
7b969636
|
Prepared lightmapUV to add support to dynamic lightmap.
|
7 年前 |
Felipe Lira
|
a01c178c
|
Enabled back support to vertex lighting
|
7 年前 |
Felipe Lira
|
792168b1
|
Reduced number of shader variations.
|
7 年前 |
Felipe Lira
|
e878f02d
|
Ambient SH done perpixel until we find a proper solution on how to handle it for ShanderGraph
|
7 年前 |
Felipe Lira
|
328573bc
|
Fix shader include dependency to properly work with ShaderGraph.
|
7 年前 |
Felipe Lira
|
dd386fd1
|
Removed UnityStandardInput and BRDF/Lighting dependencies.
|
7 年前 |
Felipe Lira
|
9982097c
|
Added support to Evaluate SH pervertex/pixel. Added support to disable LIGHTMAP and ADDITIONAL lights with shader define. Useful for ShaderGraph
|
7 年前 |
Felipe Lira
|
1f547adf
|
Added support to Standard Particles
|
7 年前 |
Felipe Lira
|
27111431
|
Added support to directional lightmaps.
|
7 年前 |
Felipe Lira
|
e97d8b34
|
Removed diffuse GI computation from fragment function. When using shader graph, templates must use the helper GI functions to compute diffuse GI.
|
7 年前 |
Felipe Lira
|
28ba8394
|
Removed _METALLIC_SETUP dependency. Now if _SPECULAR_SETUP is not defined MetallicSetup is used.
|
7 年前 |
Felipe Lira
|
4e6c2856
|
Fixed an issue in vertex lighting.
|
7 年前 |
Felipe Lira
|
e7cc4756
|
Converted terrain standard shader to lightweight.
|
7 年前 |
Felipe Lira
|
9d673bbd
|
Added fragment Lambert and BlinnPhong funcitons to add support to trees or other shaders that require non PBS functions.
|
7 年前 |
Felipe Lira
|
466a4af2
|
Added a vertexLighting input to fragment PBR function. This way we modulate by material diffuse and do not apply ambient occlusion to it.
|
7 年前 |
Felipe Lira
|
c06f7217
|
Added support to bumpmap scale.
|
7 年前 |
Felipe Lira
|
ac7847d3
|
Fixed type in SPECULAR_SETUP keyword
|
7 年前 |
Felipe Lira
|
4655c92c
|
Fixed crash in pipeline startup due to missing resources. Removed fog computation from inner fragment shading loop.
|
7 年前 |
Felipe Lira
|
7867cec0
|
Fixed some issues on OpenGL and fixed test scene 007 material keywords.
|
7 年前 |
Felipe Lira
|
5224d3ba
|
Fixed issue in test framework that was incorrectly blending alpha. Fixed issue in specular of simple lighting shader.
|
7 年前 |
Felipe Lira
|
d72cae5f
|
Minor shader optimization
|
7 年前 |
Felipe Lira
|
2afc78cf
|
Changed lightweight asset to define total amount of pixel lights instead of additional pixel lights. That was confusing for most people. Also limited vertex light to 4.
|
7 年前 |
Felipe Lira
|
7f9830c1
|
Added meta pass for StandardShader.
|
7 年前 |
Felipe Lira
|
2387e5a5
|
Added GI to unlit standard shader.
|
7 年前 |