42 次代码提交 (15b64fff-a0f3-4dd9-a30e-563d3decdeba)

作者 SHA1 备注 提交日期
Felipe Lira 6959ac25 Added initial prototype version of Lightweight PBS shader. Started moving away from legacy shader library. 7 年前
Felipe Lira 64861bf2 Added Lightweight PBR Sphere Test Scene 7 年前
Felipe Lira 7ea80c7b Added a light attenuation falloff in the shader to prevent the hardcutoff at the light range. Better is to use a light texture falloff but as off now _LightTexture0 is not passed in SRP. We can create one later. 7 年前
Felipe Lira fc9c1456 Removed unused distance in shader that was left as mistake. 7 年前
Felipe Lira c28f1752 Added attenuation procedural texture generation code and attenuation texture in shader. 7 年前
Felipe Lira c9cb44ad Added optimized single light path for DIRECTIONAL, SPOT, POINT 7 年前
Felipe Lira 5f72f0d9 Fixed issue that was causing the attenuation to be applied to direcitonal lights when using attenuation texture. 7 年前
Felipe Lira 2174bed4 Added microfacet BRDF model. Some changes to keywords in the LightweightStandard shader GUI. 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 f4fc9498 Updated shader and materials to use same metallic/spec gloss map and keywords as standard. This will allow substance workflow to work in lightweight. 7 年前
Felipe Lira 301fd283 Added mixed vertex/frag SH evaluation. Added GlossyEnvironmentColor to be used when glossy reflections are off. 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 961ab624 Light refactor to sort lights and disable directional lights from per object light lists. 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 98bc9a10 Optimized spotlight attenuation to be done with a DP3 and MAD instrucitons. 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 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 8ea2f9d8 Added support to directional light cookie. 7 年前
Felipe Lira 64c4168e Added support to spot light cookies. 7 年前
Felipe Lira ced47738 Added standard particle unlit. Created Particles ShaderGUI based on standard GUI. Removed distortion. 7 年前
Felipe Lira 90a62e55 Fixed spot cookies. 7 年前
Felipe Lira 8f6a326d Removed Attenuation texture dependency due to precision issues with an alpha8. Optimized attenuation function to use 1 MAD instruction for the smooth factor. 7 年前
Felipe Lira 35a2a905 Fixed bug in vertex lighting caused by casting due to typo. 7 年前
Felipe Lira 4655c92c Fixed crash in pipeline startup due to missing resources. Removed fog computation from inner fragment shading loop. 7 年前
Felipe Lira 2d7d95e7 Added support to subtractive mixed light mode. 7 年前
Felipe Lira 161e43f7 Fixed a compiler shader error introduced in last commit. 7 年前
Felipe Lira fa504521 Runned auto format tool. 7 年前