Hi Ricardo,
Thanks a lot for helping out with this.
I've had a look at the tweaked example and it does work.
It combines the baked and realtime lighting as you pointed out with the forward add pass.
It's still giving me some issues but I have to investigate this myself first.
Thanks again for the ...
Search found 5 matches
- Tue Mar 12, 2019 9:37 am
- Forum: Amplify Shader Editor
- Topic: DecodeDirectionalLightmap
- Replies: 9
- Views: 15225
- Mon Feb 25, 2019 4:06 pm
- Forum: Amplify Shader Editor
- Topic: DecodeDirectionalLightmap
- Replies: 9
- Views: 15225
Re: DecodeDirectionalLightmap
Hi again thanks for assisting with this.
You can get the sample package below. I've shared it through google drive.
https://drive.google.com/file/d/1Grh9mc ... sp=sharing
If you need anything else let me know.
Cheers,
J
You can get the sample package below. I've shared it through google drive.
https://drive.google.com/file/d/1Grh9mc ... sp=sharing
If you need anything else let me know.
Cheers,
J
- Thu Feb 21, 2019 5:40 pm
- Forum: Amplify Shader Editor
- Topic: DecodeDirectionalLightmap
- Replies: 9
- Views: 15225
Re: DecodeDirectionalLightmap
Hi,
I've played around a bit and decided to take apart the decodedirectionallightmap function.
Atleast as I found in the UnityCG.cginc. It works perfectly and is identical to standard shader with baked lighting.
The problem however arises when I add a realtime light. It creates issues as seen from ...
I've played around a bit and decided to take apart the decodedirectionallightmap function.
Atleast as I found in the UnityCG.cginc. It works perfectly and is identical to standard shader with baked lighting.
The problem however arises when I add a realtime light. It creates issues as seen from ...
- Wed Feb 20, 2019 9:38 pm
- Forum: Amplify Shader Editor
- Topic: DecodeDirectionalLightmap
- Replies: 9
- Views: 15225
Re: DecodeDirectionalLightmap
Thank you so much for the help.
Only wondering how to implement this. I figured I would multiply this with my albedo texture.
Like you would multiply the albedo and light attenuation and light color after the ndotl in custom lighting.
decodelightmap gives a proper attenuation as you would expect ...
Only wondering how to implement this. I figured I would multiply this with my albedo texture.
Like you would multiply the albedo and light attenuation and light color after the ndotl in custom lighting.
decodelightmap gives a proper attenuation as you would expect ...
- Mon Feb 18, 2019 3:51 pm
- Forum: Amplify Shader Editor
- Topic: DecodeDirectionalLightmap
- Replies: 9
- Views: 15225
DecodeDirectionalLightmap
Hi,
I am wondering if there is a way to use DecodeDirectionalLightmap in ASE.
I want to use a ramp in a custom lighting shader with directional lightmap support.
For this reason I'm baking a directional lightmap, but I am having trouble implementing this ASE.
I want to do a dot product between the ...
I am wondering if there is a way to use DecodeDirectionalLightmap in ASE.
I want to use a ramp in a custom lighting shader with directional lightmap support.
For this reason I'm baking a directional lightmap, but I am having trouble implementing this ASE.
I want to do a dot product between the ...