Quantcast
Channel: Answers by "Noise crime"
Browsing latest articles
Browse All 90 View Live

Answer by Noise crime

Just use time.deltatime no one is going to notice its the time for the last frame, unless your frames are varying wildly in the time they need, in which case you've got bigger problems than getting...

View Article



Answer by Noise crime

Mipmapping can be found in the texture inspector. So go through all your textures one by one, select one in the project view and make sure you can see it in the inspector. Locate the 'Generate Mip...

View Article

Answer by Noise crime

Graphic levels usually refers to the amount of textures used ( vram), the complexity of the shaders rendering the scene and stuff like shadows, number of pixel lights, AA etc. In which case...

View Article

Answer by Noise crime

Why not simply add an event to your throwing animation so it calls a function to trigger the throwing of the grenade at the right time? Far more precise than using a timer.You'll have to 'copy' the...

View Article

Answer by Noise crime

If the model is a single mesh, with a single material you can just 'add' materials to its mesh in the inspector.If you look at a model in the inspector with a mesh render component assigned you'll...

View Article


Answer by Noise crime

ok seem to have an answer for this.For some reason playing an embedded movie in Unity suffers this problem, which appears to be more a case of a long delay, meaning the first few seconds are missed,...

View Article

Answer by Noise crime

Unless you are targeting low end graphic cards it should be fine, though will eat up a fair amount of memory (16mb*6 = 96mb + mipmapping) unless they are compressed. So in this case i'd be more wary of...

View Article

Answer by Noise crime

Why don't you want to use Unity? All you'd need to do is add a scene to the start that presents a menu of screen resolution choices for the user to select. Essentially building your own startup dialog....

View Article


Answer by Noise crime

Yep that's to be expected.In terms of making it more efficient you want to look into combining cube faces that share the same material. How you achieve that depends on your project and requirements.I...

View Article


Answer by Noise crime

I think I had something similar recently whilst messing with some editor scripts. Pretty sure I had the same or similar message, but it disappeared after re-opening Unity. However later I noticed a...

View Article

Answer by Noise crime

Well your best bet is to try both and profile them.My guess is if you are using a single 4096 length image (max size for a texture on most cards) then there is no point cutting it up. The gpu will clip...

View Article

Answer by Noise crime

With zWrite on polygon depths are written to the zbuffer effectively giving you perfecting sorting (avoiding the painters algorithm issues - look it up). So if you had a polygon at z=100 any future...

View Article

Answer by Noise crime

Normally you'd use a cast to convert between a float and int. So you'd define your variable as a float, but when you need the value as an int youd cast it e.g. x = 5 + (int)myFloat;There are other...

View Article


Answer by Noise crime

Not sure of specific tools as such, but I believe the issue with seamless looping of MP3 is mainly due to padding silence to frames, where a frame is a fixed number of samples (1152 acording to the...

View Article

Answer by Noise crime

myLayer = 1 << 8 | 1 << 11;The culling mask is a 32 bit (binary) field, thus bit 1 = 1, bit 2 = 2, bit 3 = 4, bit 4 = 8. bit 5 = 16 etc. So to convert a layer index into an integer you use...

View Article


Answer by Noise crime

So with a little nudge from Eric5h5 it would appear there are two different 'character customisation' demos on the Unity website. One for Unity 3.0 and an older one for 2.6. Doesn't help that both...

View Article

Answer by Noise crime

Back in Unity 2.6 I was able to embed the activeX Unity web player into Adobe Director and pass data from Director to it, though can't remember off hand if it was possible to send data the other way....

View Article


Answer by Noise crime

Yes, there is a little 'picture' icon on the scene window tab, its the last of the user settings, after 'toggle lighting' (little sun icon), display mode (RGB, Alpha, Overdraw etc) and render mode...

View Article

Answer by Noise crime

Which shader specifically is the model that you don't want to glow using? Since the problem is that it renders its final alpha into the alpha of the color buffer, would not simply disabling writing to...

View Article

Answer by Noise crime

Personally i'd use an animation for this and not a script. It will be far easier to control, tweak and obtain the effect you are after. Light.Intensity as well as other light properties are all exposed...

View Article

Answer by Noise crime

There are shaders that can create a normal map from a diffuse texture map, from memory there is one in AMD(ATI) RenderMonkey, but sure you can find plenty of other examples online. So one method (I...

View Article


Answer by Noise crime

Personally i'd probably set up a separate single gui object (manager) and have the boxes call/broadcast to it when clicked. That way you have a single gui object/script dealing with your 'popup menu'...

View Article


Answer by Noise crime

Simple answer, if you use copyrighted material, you must pay a license.As regard to songs, that generally means licensing them directly from the owners/publishers. However that simply gives you the...

View Article

Answer by Noise crime

Sounds like you want voice synthesis (i.e. Text-To-Speech), complex but not impossible to achieve, though I doubt you'd get it in the web player as you'd have to rely on plugin/dll.Both Mac and Win OS...

View Article

Answer by Noise crime

Well the screenshots you've posted look rather nice, likely due to being resized so its difficult to see the problem.A few pointsYou're textures are already lossy compressed via jpg so that might be...

View Article


Answer by Noise crime

Sounds like you want to use 'replace' blending, you may be able to add that to the shader you are using. If not you could check out some Unity 2.6 projection shaders I wrote last year (just tested and...

View Article

Answer by Noise crime

Thats because there is nothing to see. Look at the hierarchy, all it contains is a single camera, so there is nothing in the scene.You need to open/load a scene from the Project assets, 'Bootcamp' by...

View Article

Answer by Noise crime

If you want to continue with the setPixels approach...Unity does not support native (gpu) non-Power-of-two textures, instead it will convert them all to POT. In fact it will make two copies, one...

View Article

Answer by Noise crime

Its annoying isn't it. The workaround i've found is ... 1. Sync the unity project with VS2010. 2. Open VS2010, let it convert the project file. 3. In VS2010, select the solution, then 'save solution...

View Article



Answer by Noise crime

From the sound of it, this is the 'OnEnable' bug with script execution order. That is I suspect your 'framework' script does not have an OnEnable method in it, in which case for some odd reason it will...

View Article
Browsing latest articles
Browse All 90 View Live




Latest Images