Hi people,
I was wondering if it is possible to create a pointlight with a cookie texture that is a cubemap. Not a spheremap, cylindrical, or whatever.
I want the light to emit a cubemap if possible.
Any help will be appreciated.
Hi people,
I was wondering if it is possible to create a pointlight with a cookie texture that is a cubemap. Not a spheremap, cylindrical, or whatever.
I want the light to emit a cubemap if possible.
Any help will be appreciated.
Those are a lot of words, and the wait time for a response was a lot longer, than putting “unity point light cookie” into Google, no?
First of all thanks for treating me like a 6 year old, mr. Pro.
I don’t think it should be necessary to actually state that I have looked for answers in the unity manual/Google before asking for help.
Instead of posting belittling comments, it would have sufficed to just ask; “Have you Googled for an answer?”.
Frankly with that post you have both wasted your time and mine.
If you read my first post… I obviously tried to create a point light that emits a cookie texture like I wanted it to. I was only able to do it “succesfully” with a single texture, by flagging the cookie texture as spheremap, cilindrical, simplespheremap and nicespheremap, but I did not get the result I was looking for.
I found a method (by googling) that was posted on the unityAnswers section. Yet I did not achieve the results that I wanted to.
So again my simple question, I am not even asking how, I am just wondering if it is possible at all to have a cubemap as a cookie (so I can do my own research if it is possible, without others feeling like they need to tell me I should google it.).
Thank you.
You didn’t answer my question. You just got offended by it instead of actually trying it, as far as I can tell. I gave you all the help you needed to do “your own research”, but I’d like to think the help wasn’t really needed. Stop ranting. Try it. I could tell you what’s going on but I think it will be better for you to come back here and tell us what you learned. The easy answer is too easy to find (it’s definitely an RTFM case) for you to have bothered creating this thread. As for why your efforts have failed, that’s more complicated, and that’s where your learning needs to be focused. Tell us how we can help you with that by relating what you don’t understand about why your results were unsatisfactory.
I don’t get why every post on this forum has to be an argument nowadays.
To make a point light cookie, chose your texture and mark it’s texture type as a cookie, then chose point light, then chose your mapping type. This was slightly confusing to me, especially transitioning from 2.6 where any old cube map would work.
Any old cubemap will work. The default shaders utilize the alpha channel as a cookie. I’m arguing that we all should try to improve our understanding of things we use, and not rely on them being magical; appreciation for ignorance offends me.
I don’t see how you “question” is relevant to my issue.
Sorry for not being as technically skilled as you are Jessy.
Lots of things that might be super normal to you might be the most complicated thing in my world…
Obviously you have allot more experience points than I do, but I don’t get the “I am better than you” attitude.
Is there a nooby section somewhere on these support forums? Clearly I don’t belong in your elite club.
And as far I as know this isn’t a blog about your personal life and what you think about certain people either.
If you do not wish to help/educate the “ignorant”… why bother posting in the first place?
Is it really that hard to answer the simple question of “Is it possible to use a cubemap as a cookie?”? 2 simple answer can be given… yes or no.
Since I Googled for a solution before needing to hear it from anybody else. I found a method that should supposedly work, but isn’t working for me. So that method could simply be false and it is in fact not possible to use a cubemap as a cookie. Since there where no confirmations of that said method nor any comments that it doesnt work… I have no idea whether its possible or not.
Checking the Unity manual did not help me either as I have not seen any bit that mentoined “regular” cubemaps (6 induvidial textures) as cookies. So from that I could conclude that it is in fact not possible to use a “regular” cubemap as a cookie.
Though since a method for using a “regular” cubemap was mentoined… I am confused whether it is or isnt possible.
Flagging a texture as a cookie and “generate cubemap” from texture is simply not cutting it as I want 6 different textures to be cast.
I tried all 4 options, spheremap, cylindrical, simplespheremap and nicespheremap. The problem with those… are that they are sphere maps, not cubemaps. One just “maps” the light cylindrically… which creates pinching at the poles.
Spheremap I believe maps the texture to both the front and the back, which creates ugly seams at the “sides”.
I think one of the last 2 simply mirrors the cookie so it looks seamless, but is still faked and doesnt cut it if you want precise control.
I tried making a regular cubemap, I flagged the “generate alpha” from grey scale or something similar for the 6 textures I used. Plugged that cubemap into the cookie slot but didn’t seem to affect the point light at all.
When you guys are talking about “any old cubemap” what are you talking about? I do not have any experience with Unity pre 3.0.
I posted what I first posted because it both answered your question, and was NOT a rhetorical question - it was designed to cause you to improve your mindfulness. Yes, i believe it should have been hard for someone to answer you, because doing so is insulting to the person who put your answer clearly in the manual, in an easy-to-find location. Some people don’t have a problem with your approach, and I like some of these people very much, but I’m calling you out on your pig-headed attitude and recommending you improve yourself. Take the advice or leave it. I won’t help you further unless you quote the relevant part of the manual, though. I don’t believe that someone who can’t do that is worth educating further. On the other hand, you might find me to be so disagreeable that you don’t want my help, anyway!
Unity does not generate spheremaps; it only generates cubemaps. You can create a cubemap from the Create menu in the Project tab. Then, make sure what you’re putting into the 6 slots has your cookie in the alpha channel. You seem to be saying you tried that already, but some step is obviously not being taken. Or, you’re experiencing a bug that I never have. You should upload a test package with a video of your approach that isn’t working; that would be the fastest and easiest way to get your problem solved.