Problem creating skybox in ArgonAssault game course

I’m trying to create the skybox for the ArgonAssault game, but in my Unity version has HDRP render pipeline.
Search in Google, I’m find how to use an HDRI for sky:

https://vintay.medium.com/setting-the-skybox-in-unity-hdrp-ffc8f7e068ec

The problem I have now is that I don’t know how to convert the six images I have downloaded for the skybox and generate an HDRI image to use.

Any suggestions, please.?

Thanks in advance.

Hi arodrigu,

If the skybox is just a bunch of images, you cannot convert those images. Images are just pixel data that get processed.

If you meant that you want to convert an image file (e.g. *.jpg) to *.hdr, you could look for tutorials on how to convert files in GIMP.

The render pipeline defines how the data gets processed, so what you have to convert (if you have something to convert) is, for example, a material. If you are lucky, the HDRP Wizard is able to convert things for you:

https://docs.unity3d.com/Packages/com.unity.render-pipelines.high-definition@17.0/manual/Render-Pipeline-Wizard.html

If you downloaded a skybox including materials, please message the original creator if you have issues with the asset. If you followed somebody’s tutorial, please ask that person for advice because he knows his tutorial best.

Also please feel free to ask our helpful community of students over on our Discord chat server.


This piece of information in the Unity manual might also be interesting:

The High Definition Render Pipeline (HDRP) does not support skybox Materials and instead includes multiple sky generation solutions.

Hi Nina.
Thanks for your information and attention.

The asset that I get from the store they no longer maintain it and they report that it probably doesn’t work in last Unity versions.

I have seen that I can use cubemaps. I’m going to try to use it in case I can continue using the asset I have.

Worst case scenario, I’ll look for an hdr image that simulates a planet to finish the exercise in a somewhat decent way. :frowning:

Thanks

If you don’t need the HDRP, maybe test another render pipeline. Before you try that, check if the asset would be compatible with another render pipeline. In many cases, the information can be found in the Unity Asset Store.

Before you test another render pipeline, make a backup of your project folder by duplicating it. Save the duplicated folder somewhere else, maybe on an USB stick. To save some free space, you could delete the Library and Temp folders in the backup folder.

https://docs.unity3d.com/Packages/com.unity.render-pipelines.universal@17.0/manual/InstallURPIntoAProject.html

Hi Nina. Really I don’t need HDRP. It was activated at the beginning of the project or I activated it by mistake.
Thanks. I’m going to try what you tell me, and test another render pipeline.
I will make a copy of the project, as you advise me.

It was probably automatically activated when you created the new project. That’s not much of a problem, though, as you can usually change the render pipeline. Did that solve the problem for you?


See also:

Hi. That would be it. It would be active automatically.
I have left it unfinished. I need render all the objects again because they appear pink.
I’m going to start now to see if I can get it.

I have not been able to render the shaders. Furthermore, the materials give me errors.


You made a backup, didn’t you?

if so, try to figure out which material you use for your terrain. Then click the material, and select another shader. Depending on the assets you are using, there are dedicated shaders for your render pipeline.

If you cannot find the shader menu, take a look at the first screenshot on this page:

That’s what you are looking for.

You do not have to convert or replace every material there is. Do that only for the materials you use in your game. Ignore or remove the rest.


As a side note, don’t worry if this subject is confusing and frustrating. Render pipelines are a huge and complex topic. What you are doing here is way beyond the scope of our course, which caters to beginners. Just try to find assets compatible with your selected render pipeline.

Yes, I made a backup.
I have been reviewing all the materials and selecting another shader.
HDRP materials I haven’t been able to change them, but I don’t use them either.
The problem is the terrain. I had to create a new material with Shader: URP → Terrain → Lit.
Has been removed pink but there not appears any texture:
Now has this aspect:

Tomorrow I’ll get back on.

Well yes, it is a little frustrating, because with HRDP, things that are simple in the course become a problem and not work for me. I hope tomorrow I can solve it.
Thanks!!

If this terrain important for you? If not, I would suggest to create a new scene. Start with a simple terrain and paint it to see if you get the desired results. That’s probably faster than trying to fix the issues. From what I see, you managed to fix the tree materials, and your terrain isn’t pink anymore either, so it might be that they work with a new terrain.

The problem is that I have created everything based on that terrain. The takeoff point of the ship, the timelines, where the enemies leave, etc. I have been creating it following the steps of the course exercise.
If I create a new terrain, I’m going to have to create a new mountain, valleys, a new ship rail, and new enemies waves.

I have started to modify the directional light and I have managed to make it look acceptable.

Now, I’m going to try to use a Skybox

Finally, when changing the shader to URP, now shows me the Skybox. :star_struck: :grinning_face_with_smiling_eyes: :grinning_face_with_smiling_eyes:

Now I hope to be able to finish the exercise without any further problems.

Thanks very much for your help!!

Great job! All the hard work really paid off. :slight_smile:

Thanks!! :blush:

This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.

Privacy & Terms