I guess it's not the end of the world to not have shadows, but I would love a solution that would allow me to add them back in. I also haven't been clicking the Generate Lighting button, as it didn't seem to really affect anything so far. I am not sure if this correctly answers the question, but in the Lighting tab, I have the Auto Generate check box off. Thank you in advance for any insight on this issue. Was used to generate the Enviro's meshes). I also attach an image with the two meshes used for the clouds, the mesh also has the exact same form (though Enviro's uses a few less layers, this is adjustable in Eidren's cloud layers generator, which i assume _CloudNormalsDirection ("_CloudNormalsDirection", Vector)Ĭlip(saturate(ceil(cloudAlphaCut)) - 0.5) įixed fakeDepth = saturate(_DepthColor+ (i.vertexColor.b * _CloudNormalsDirection.g + 1) / 2) įixed fakeDepth = saturate(- _Density + (i.vertexColor.b * _CloudNormalsDirection.g + 1) / 2) įixed cloudAlphaCut = cloudMorph -_AlphaCut įixed cloudAlphaCut = cloudMorph -_CloudAlphaCut I post below the lines that are exact same and some that are exact same but a variable has been renamed. I attach the code of the cloud shaders from both assets for reference (Eideren's is Clouds.shader from version 1.4c and Enviro's is EnviroClouds.shader from latest version). I have been using this asset alongside Eiderens Volume clouds v1.4c and it seems that some of the code is same. KSP is a game where the player creates and manages his own space program. You have access to an array of parts to assemble fully-functional spacecraft that flies (or doesn’t) based on realistic aerodynamic and orbital physics. I guess it's not the end of the world to not have shadows, but I would love a solution that would allow me to add them back in. In Kerbal Space Program, take charge of the space program for the alien race known as the Kerbals. Furthermore, I noticed that increasing Bias too much, broke shadows elsewhere, by creating gaps in shadows.įinally, I tried increasing the camera's Clipping Planes Near setting, but that just ends up cutting off part of the view, and you get half of your screen as white. The problem I noticed here, is that the more you allow user the zoom out, the higher you need to set the Bias in order to keep it fixed. I also tried Soft Shadows, together with an increase to its Bias setting. I then set Shadow Type to No Shadows, which did away with the problem, albeit at the cost of shadows. What has temporarily fixed it for me, was to first go to the Direct Light object underneath the Enviro prefab on scene. Click to expand.I am not sure if this correctly answers the question, but in the Lighting tab, I have the Auto Generate check box off.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |